Make External Database Components Visible in Reports

BruceBiddleBruceBiddle Nottingham UK
edited 11:23AM in FastReport 4.0
Does anyone know if it's possible to make external database/connection components on a form or datamodule visible to frxXXXdataset in reports ?

I noticed similar questions have been asked before in the forum but no replies >

Comments

  • gpigpi
    edited 11:23AM
    Set frxXXXComponents.DefaulDatabase property
  • BruceBiddleBruceBiddle Nottingham UK
    edited 11:23AM
    gpi wrote: »
    Set frxXXXComponents.DefaulDatabase property

    Thanks for the reply but what I wanted to do is have multiple database components in my app and for them to be listed in the dropdown property of the database/connection for all Query and table objects in the report. Default database only shows a single database in the list.
  • gpigpi
    edited 11:23AM
    You can use only one connection from Delphi's form in report
  • AnHaAnHa germany
    edited 11:23AM
    Hi,
    I have the exact same problem and it is really essential for me to use my existing Connections/Databases also in reports.
    Why can I only use the DefaultDatabase and not define more Connections/Databases in the host application?
    If I add a Database in the report the DefaultDatabase disappears. Is this by design or an error?
    If I add 2 Databases in the report, I can switch between them, so there seems the possibility of more databases.

    Andreas

Leave a Comment