Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing variables from forms to forms
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00387943
Message ID:
00387945
Views:
18
>I need a variable passed from one form to another without using public variable, but needs to be used in the targets forms load event. How would I do that?
>
> THnaks Kelly
DO FORM your_form_name WITH nVariable
Your load event or init event should have PARAMETER nVariable.

Statement with return value:
nValue = 0
DO FORM your_form_name WITH nVariable TO nValue
If nValue = something
    Do anything...
Endif
Your Unload event should have RETURN nRetValue
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform