Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing variables
Message
From
19/02/1997 22:28:32
 
 
To
19/02/1997 16:41:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00021081
Message ID:
00021229
Views:
38
>>how do you pass variables between 2 different forms. The problem I am having is that I have 2 form each with a private data session. I want to assign the current record number to a variable and pass that to the other form. any suggestions. thanks fot the help.
>Don't forget the ever popular PUBLIC memvar. While the new Visual world seems appalled by medieval programming traditions, this is one that will solve many problems if not abused.
>The variable can be set PUBLIC in the LOAD method of either form (but not BOTH!)
>HTH

I Hardly use Public Variables, instead I add properties to my application class that they will be available for all forms as public variables.
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform