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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending data to dataform

Status
Not open for further replies.

luisve

Programmer
Jun 24, 2005
29
US
hi i ve this code that i use to send data from from1 to from2:
MyInstanceOfForm2 = form2
MyInstanceOfForm2.Show()
MyInstanceOfForm2.Label1.Text = alt.Text

the problem is form 2 is already open, and if i run this code, it will open another copy of form2, what i need to do is to pass the info to the old form2 without closing it or opening a new one, thanks for the help!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top