Pass data from one form to another form in MS Access

Nancythomas

Registered User.
Local time
Today, 05:42
Joined
Apr 20, 2010
Messages
59
I have two forms and I would like to pass data from one form to another form.
Can you please help. Attached is the sample DB
 

Attachments

does one form open the other? Or are they just open at the same time.
You can reference another form by forms("formname")!ControlName.property or Forms![formname]!ControlName.property, but if you are opening the other form you can send info to it using the OpenArgs parameter. In the onOpen event of the form check what is in the OpenArgs (e.g. Me.OpenArgs)
https://msdn.microsoft.com/en-us/library/office/ff820845.aspx
 

Users who are viewing this thread

Back
Top Bottom