Reports in a DLL
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
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
This discussion has been closed.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com