Make External Database Components Visible in Reports

BruceBiddleBruceBiddle Nottingham UK
edited 9:40AM 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 9:40AM
    Set frxXXXComponents.DefaulDatabase property
  • BruceBiddleBruceBiddle Nottingham UK
    edited 9:40AM
    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 9:40AM
    You can use only one connection from Delphi's form in report
  • AnHaAnHa germany
    edited 9:40AM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.