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

re: dbxConnections !

edited September 2003 in General
Hi,

The LoadParamsOnConnect property is set to False, but continue
requestthe 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?















Comments

  • edited September 2003
    Hello,

    At design-time DADE will automatically use the default .ini file when
    populating the database name drop-down box in the DataSettings. You can
    change this at run-time for the TppDesigner by adjusting the code to
    populate that drop down box in the daDBExpress.pas file in the
    GetDatabaseNames method. There is however no way to change this for desigh
    time.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.