How to input variables from another form?
Author |
Message |
Ashi_Mashi2
|
Posted: Fri Mar 25, 2005 3:52 pm Post subject: How to input variables from another form? |
|
|
Hi agian...
i am designing a project that has 4-5 forms. I want to know how can i input the value of a variable from one form to another. For example, i declared "x" in form1, and i want to use it in form2 as well....thanks again |
|
|
|
|
|
Sponsor Sponsor
|
|
|
GlobeTrotter
|
Posted: Fri Mar 25, 2005 4:22 pm Post subject: (No subject) |
|
|
The way I did it was to create a module that declares the variables, and declare them all as Global. For example, in the module you'd write:
Global VarName As String |
|
|
|
|
|
Ashi_Mashi2
|
Posted: Fri Mar 25, 2005 10:58 pm Post subject: (No subject) |
|
|
thanks...it works;)...i used to save it under an object, and then call it back...it took a long time...but, now it's fine..thx |
|
|
|
|
|
|
|