|
-
Jun 18th, 2003, 10:07 AM
#3
Re: reading a variable from a different form
Originally posted by Jorgin
I have a question.. i have 2 forms.. and the first form loads and the user has to click on a control which assigns a value to a variable.. then the second form loads and the first one hides. i need the program to read the value from the variable declared in the first form from the SECOND FORM to use in the SECOND FORM.
how can i do this?
thanks to all in advance.
you must declare it as public.. then you can simply access it by using
form1.variablename
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
|