Capturing the value of a parent form

TJBernard

Registered User.
Local time
Today, 22:42
Joined
Mar 28, 2002
Messages
176
I have a subform that opens up a pop-up form on the click of a command button. The same subform is on three different parent forms, and opens the same pop-up regardless of the parent form. On the close event of the pop-up form I want to correctly update the subform. Of course to do this I need to capture the value of the parent form of the subform and store it in a global variable so it can be passed on to the pop-up form.

Is anyone aware of a way to capture this value?

Thank you,

TJBernard
 
TJ,

Not sure, but I think you can reference a parent control by:

Me.Parent.SomeControl

Wayne
 

Users who are viewing this thread

Back
Top Bottom