|
-
Jun 11th, 2005, 07:12 PM
#1
Thread Starter
Member
Interweaving Data on Different Forms {resolved}
Hey guys,
I have two forms. I want to take two numbers from one form and place them on another form...Any ideas on how to do it?
Any would be great...
Darcey_123
Last edited by darcey_123; Jun 12th, 2005 at 02:17 AM.
-
Jun 11th, 2005, 07:35 PM
#2
Re: Interweaving Data on Different Forms
Precede the formname on the assignment statement.
VB Code:
form2.f2name.text = form1.f1name.text
-
Jun 11th, 2005, 10:47 PM
#3
Junior Member
Re: Interweaving Data on Different Forms
'In Module Declare Two Variables as
global n1 as string , n2 as string
'In First Form
Private Sub Command1_Click()
n1 = Text1.Text
n2 = Text2.Text
End Sub
'in Second Form
Private Sub Form_Load()
Text1.Text = n1
Text2.Text = n2
End Sub
Your Problem Will be Solved
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
|