Copying data from main form to subform

Gkirkup

Registered User.
Local time
Today, 14:48
Joined
Mar 6, 2007
Messages
628
I am in a subform, and want to copy some data from a control on the 'main' form, to the subform, on a button click. How do I do that? This doesn't work:

Me.txtSUBCONTROL = [MAINFORM].Form![txtMAINCONTROL]

Also, on the same button click, how do I blank the data in the control on the main form? The button is on the subform.

Thank you!
Robert
 
That is an excellent reference, thank you.

Robert
 

Users who are viewing this thread

Back
Top Bottom