|
-
Jun 19th, 2000, 11:05 AM
#1
Thread Starter
Hyperactive Member
this is probabily very easy but i cant figure it out.
how do i pass the data in a var between forms?
here is what i mean (simplified):
Private Sub Command2_Click()
Dim a
a = Text1
Form2.show
Unload me
End sub
Now form2 is displayed...
Private Sub Form_Load()
text2 = a
End Sub
how do i get the variable (a) to keep its data after i change the form??
this was probabily very easy.
thanks for your time.
-
Jun 19th, 2000, 11:59 AM
#2
Yes it is easy, but not well documented
Dimension A as either Public or Global in the General section...not in a Sub.Hmmm...not sure about Global that may require a bas module
Hope it helps
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
|