Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing execution parameters to a form in a formset
Message
From
28/09/1998 13:59:00
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00141540
Message ID:
00141543
Views:
21
Hi Michel ---

Put the LPARAMETERS param1,etc... in the Init of the Formset and not the form. Create custom properties in the Formset to store the parameters to. You can access them from the form level with THISFORMSET.Property *but* not in the Form init because form init comes BEFORE Formset init.


>The DO FORM ..... WITH param1, param2, etc... allows you
>to pass parameters to a form which one captures in the Init
>method of the form.
>
>If a form is part of a formset, however, and is the first
>form (or even the only form) in that formset that will be
>executed, how do you pass parameters to it from the
>DO FORM statement in the Command Window ?
>
>Thanks in advance.
>Michel.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform