Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing info between forms cont.

Status
Not open for further replies.

adialon

Programmer
Dec 1, 2001
11
IL
Hi!
My problem is i have two forms.
I open the second by clicking a command button on the first .
At the second form i have some opption buttons.
I want to pass back the info from the second for to the first(the one that opened the second).
How can i do that?
Adi.
 
This can be done 2 ways.

You can either use Public variables (Dim the variables in a module, so that they have a public scope over all forms of the project).

Or you can pass the variables as parameters (although this may not work correctly, depending how you intend to use the data.)

Hope this helps...

jason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top