Transfer Variables from form to form

sebastopol123

New member
Local time
Today, 05:21
Joined
Sep 5, 2007
Messages
5
Sorry all, this must be very old hat, but I'd appreciate some help.
I open a form and input data. I have the option to open form2 and with the OpenArgs transfer data. While I'm entering data I need to call form3 and select data from combo boxes. This is done without closing form2.
When I finish selecting from form3 I want to transfer the selected data back to form2 and close form3.
Many thanks
 
Sorry all, this must be very old hat, but I'd appreciate some help.
I open a form and input data. I have the option to open form2 and with the OpenArgs transfer data. While I'm entering data I need to call form3 and select data from combo boxes. This is done without closing form2.
When I finish selecting from form3 I want to transfer the selected data back to form2 and close form3.
Many thanks

seb from form3 you can access objects in form2. For example you might want to populate a text box so you would simply do:

form2.txtWhateever.text = cboWhatever.text

HTH
 

Users who are viewing this thread

Back
Top Bottom