|
-
Apr 15th, 2011, 01:49 PM
#1
Thread Starter
Member
[Solved]Linking form 1 with form2
Hi, So I have two forms. In form 1, I have a textbox1 and in form two, I have a textbox2 and a button1. Now what I want to do is, write in textbox2 (That is in FORM2) and when I press the button, it just go to textbox1 (That is in FORM1)
Any help would be appreciated
Thanks
Last edited by KillerBoy21; Apr 15th, 2011 at 02:23 PM.
-
Apr 15th, 2011, 02:02 PM
#2
Re: Linking form 1 with form2
try something like,
form1.textbox1.text = me.textbox2.text
-
Apr 15th, 2011, 02:03 PM
#3
Junior Member
Re: Linking form 1 with form2
Hi.
Im assuming that you mean you want to send the text entered in textbox2 in Form2 to the textbox1 in Form1.
Vb Code:
Private Sub Button1_click()
Form1.Textbox1.Text = Textbox2.Text
End Sub
-
Apr 15th, 2011, 02:22 PM
#4
Thread Starter
Member
Re: Linking form 1 with form2
Thank you. It worked
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|