Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing execution parameters to a form in a formset
Message
De
28/09/1998 13:59:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00141540
Message ID:
00141543
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform