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

Reports in a DLL

edited August 2003 in General
Hi,

I saw the example on how to create reports in a DLL but it uses BDE.
As my application uses DBX to acces the DB, what I need to do to use the
same connection defined in the application?
I have one DataModule that contains the SQLConnection to point to the DB and
it is used by all the datamodules. How can I use it by the DLL?

Thanks
Antonio

Comments

  • edited August 2003
    Hi Antonio,

    If you would like a completely thread safe application, you will need to
    create a separate connection altogether. However, you could possibly send
    the connection parameter to the ShowForm method defined in the FormDll.pas
    file and altering that code to work with DB Express.

    --
    Best Regards,

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