Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized forms
Message
 
To
10/03/2000 16:39:17
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00344418
Message ID:
00344521
Views:
23
As Dan said, you add the parameter statement to the form init() (not the DE init() ). These variables will go out of focus as soon as the init() is complete, so if you need the values in another method be sure you store them to a form property.
FORM Init()

LParameter MyVar1, MyVar2

thisform.cMyVar1 = MyVar1
thisform.nMyVar2 = MyVar2
Now you can refer to these variables at any time.

HTH
Barbara



>Can someone tell me how to pass a parameter to a form. Where do you list the parameter in the form designer i.e. (init of the data environment)
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform