Board index » delphi » Please, Help me !!! DataModule problem

Please, Help me !!! DataModule problem

Hello.
I'm making a project that have a DataModule. I would like to access the
Datamodule from forms that reside in one DLL that I making for the project
but I don't know how do it.

I'm using Delphi 3 and BDE 4.51.

Can you help me, please?

Thanks in advanced.

 

Re:Please, Help me !!! DataModule problem


Hi Marc

Pass the DataModule as a parameter for your .DLL functions. For example,
suppose a function for openning a Table1 in DataModule.
- DataModuleParameter.Table1.Open;
Of course DataModuleParameter must be of TDataModule type.

Regards
Elio - Rio de Janeiro - Brasil
<el...@hotmail.com>

Other Threads