MDI child call parent variable/object

cc96ai

Member
Joined
Mar 8, 2006
Messages
10
Programming Experience
Beginner
Can MDI child call back parent variable or any object?
e.g.
- frmParent
-String conn = "abc.mdb";

- frmChild
- String test = "demo";

- frmChildTest
- how can we frmParent.conn ?
- and can we call frmChild.test , too ?

the issue i would like to call parent variable,
It would like to create the database connection in parent ,
so each child only need to call parent connection, and dont need to recreate on each form
 
Back
Top