text box transfer

SirStevie3

Registered User.
Local time
Today, 11:00
Joined
Jul 29, 2013
Messages
58
terrible title i know...

so i have MainForm and PopUp (which is also a form). on the MainForm there is a command button that brings up the PopUp form. on this PopUp form, some data will be entered then the PopUp form will be closed via a command button.

whats the code i would need to take a value from a control on PopUp and place it in a control on MainForm, ideally when the command button closes the PopUp form.

so i know it has to go on the command button's on click event, probably before the close form code lol... but i cant figure out how to get the value to transfer over...

Thanks!:)
 
Forms!MainFormName.TextboxName = Me.TextboxName
 
thanks Pbaldy!!
 

Users who are viewing this thread

Back
Top Bottom