How to refer to a control on another form?

moto485

Registered User.
Local time
Yesterday, 17:19
Joined
Oct 18, 2011
Messages
50
I have a pop up form and want the value of say txtName to be transfered to the the main form that is open call it FrontPage with a control called txtFrontPageName

I have seen people saying to do something like this "Form.FrontPage.txtFrontPageName" to refer to a control, this does not work.
I can't figure it out?
 
well I figured it out don't why it wasn't working maybe I was referring to the wrong control name or something crap anyway forms.mainform.txtControl does work after all lol
 
You got the result you wanted. That is the main thing.

Good luck with the project.
 

Users who are viewing this thread

Back
Top Bottom