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

Report Explorer Not Seeing Database Name

edited April 2006 in End User
Hello,

For some reason we are having trouble getting Report Explorer to see the
"database name". We have established a connection to the NexusDB database,
but when we go into Report Designer and then go to the data tab, and then
click on File > Data Settings. The database name is not there, but Session
Type and Database Type are.

Any clues on how to resolve this, and get the database name seen? We have
already went through all settings and don't see anything that could be
wrong.

Thank you,
Larry

Comments

  • edited April 2006

    The database connection object should reside on the same form as the
    TppDesigner component. Once you pick the session type, then the connection
    object should appear in the database name list.

    Try configuring the TppDesigner.Datasettings at Delphi design-time and then
    check them at run-time.



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2006
    The database component is on a data module. It used to work this way with
    our older version of report builder. Are you saying that now I need to move
    it to the same form? Does this apply only to the database component or
    other connection components such as transport and server components?

    - Larry


  • edited April 2006
    The designer database settings show up in object inspector at design time,
    but it just doesn't show in the designer at run-time.

    - Larry

  • edited April 2006

    - At Delphi design-time, the list of available database connection objects
    is built by using a call to the Delphi IDE.

    - At run-time there is code that can look thru the applications datamodules
    (i.e. Screen.DataModules[] array). Make sure that an instance of the
    datamodule is instantiated prior to instantiating the form containing the RB
    components.

    - It might be that the name of the object returned by the Delphi IDE is
    prefixed by the datamodule name (i.e. myDataModule.Database1), at run-time
    RB will not do that.

    - At run-time you can trace the RB source code to see how this works. In
    RBuilder\Source\daDB.pas, the method TdaSession.GetDatabaseNames.




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.