Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass a param to a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01245888
Message ID:
01245898
Views:
29
>I want form2 to have the value of a var in form1, what is the way to accomplish this? Where does the parameter statement go? I have this in Form1:
>Publ zrec
>zrec=RECNO()
>DO FORM2 WITH zrec

In addition to all others. When you define a variable as PUBLIC there is no need to pass it as parameter. That variable is accessible in all your routines from now on till you release it.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform