Is it possible to load mdichild forms from a package and have it use components on a datamodule....like sql connections and queries?
Is it possible to load mdichild forms from a package and have it use components on a datamodule....like sql connections and queries?
Not only possible but recommended in cases where the same connections or datasets are used in many forms.
To do so you need to specify these datamodules in your "Uses" section of your form(s).
Example:
Uses mydatamodule;
How that answers your question...all the best
Hmmmm..i have tried it sevral times and i get me ory errors...
The datamodule if created my the parent form (the data module has the ado connection and table objects) ... when i try to access the table object i get a memory error i will post the error the next time i log in {} i got fustraed and abandonded the idea.