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

Connections

edited September 2003 in General

I build the application using dbxConnections, but don't show the names of
connections that i load from other file (Don't use dbxconnections.ini).
Then i try use override in GetDatabaseNames method...but i don't
know how do, I need compile this Unit? Have other form to make this?

Comments

  • edited September 2003
    Hello,

    In the GetDatabaseNames method, you need to populate the referenced TList
    with the connection names in your custom .ini file instead of calling
    GetConnectionNames. Otherwise, the GetConnectinNames will use the
    dbxconnections.ini by default to get the connection names.

    --
    Best Regards,

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

    But how to do? I need change the unit daDbExpress.pas in GetDatabaseNames
    method?
    and after i need compile what package?

    thank's

  • edited September 2003
    Hi,

    Yes you will need to change the daDBExpress.pas file to use your custom .ini
    file. This will then only work at runtime. At design time, ReportBuilder
    will only use the default .ini file to load the database names. Sorry but
    there is currently no way to change this at design time in ReportBuilder.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2003
    After that i changed the daDbExpress.pas file what's the package (Dpk)
    that i need compile?




  • edited September 2003
    Hi,

    You will not need to recompile a package, only rebuild your project with
    your library path pointing to the \RBuilder\Source\... directory.

    --
    Best Regards,

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