Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

dbxConnections

edited September 2003 in General
I'm build an report using dbExpress to connection with Database Firebird.
In my application i have other file ini, sample MYAplic.INI that have
information
about connection. I don't use the file dbxConnections.INI. But, in my
report's
build with Report Builder it always use this file standard
(dbxConnections.Ini).
How i can change to Report Builder get this new file???

thank's

Comments

  • edited September 2003
    Hi,

    If you are using the LoadParamsFromIniFile method to define a differen .ini
    file to use, be sure the LoadParamsOnConnect property is set to False. When
    LoadParamsOnConnect is true, it loads the connection configuration from the
    dbxconnections.ini file immediately before opening a connection, overriding
    any values loaded by this method. ReportBuilder itself does not use the
    dbxconnections.ini file directly.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2003
    Hi,

    The LoadParamsOnConnect property is set to False, but continue request
    the User
    and password to login in Database. It don't get the connection active !
    My application is distributed in packages (BPL) where have the follow
    structure:

    Menu.exe (Main)
    Dtabas.BPL (Package with the connection with Database. Have an
    component TSQLConnection);
    Gerrel.BPL (Package with the Report Builder Component's);

    In Gerrel.BPL have the follow component:
    - TPPDesigner where the DataSettings is configured how:
    DatabaseName: SQCBank1 (Is connection from package Gerrel.Bpl)
    Showed is correct !
    DatabaseType: dtInterBase
    SessionType: dbExpressSession
    UseDataDictionary: True

    - TPPDataDictionary.BuilderSettings:
    DatabaseName: SQCBank1 (Is connection from package Gerrel.Bpl)
    SessionType: dbExpressSession

    if in time design i choose the option Data / File / DataSettings the
    Database Name property
    show just the names that are in dbxConnections.INI, it don't get the
    property above.

    What is wrong?















This discussion has been closed.