datamodules (& MDI) 
Author Message
 datamodules (& MDI)
I am converting a database application from Delphi 1 to 4 and want to take
advantage of dataModules.
Note : The application is MDI .

My question is - can the scope of datamodule be local to the MDI child (and
linked forms) rather
than the whole application.

Paul Griffiths

6564



Wed, 18 Jun 1902 08:00:00 GMT
 datamodules (& MDI)

Only if you create a datamodule for every child form (create the DM in the
child form OnCreate and destroy it in the OnDestry).
However, it is far easier to put the datasets and datasources on the child
form itself and use the master DM to hold the session and database
components only.



Quote:
> I am converting a database application from Delphi 1 to 4 and want to take
> advantage of dataModules.
> Note : The application is MDI .

> My question is - can the scope of datamodule be local to the MDI child
(and
> linked forms) rather
> than the whole application.

> Paul Griffiths

> 6564



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. HELP need on DataModules and MDI

2. Help on DataModules and MDI forms

3. MDI Application and DataModules

4. Datamodule in MDI-forms

5. Using DataModule in MDI environment ???????

6. MDI problem, com MDI to MDI-child

7. Q:non-MDI form to update MDI form

8. MDI Child to an MDI Parent

9. Accessing Objects on a Mdi Parent form from a Mdi Child form

10. MDI Gateway Drivers / MDI ODBC Driver Set

11. MDI child from MDI child

12. MDI Forms & On Activate


 
Powered by phpBB® Forum Software