Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameter to a form!!
Message
 
 
À
11/07/1997 15:46:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00039535
Message ID:
00039591
Vues:
36
>>> >When I try to pass parameter to a form by (Do Form test with ).
>>> In this case my parameter is a person lastname in a database. So far so
>>> good. My problem is how can I retrieve that parameter in a form designer
>>> init event, so that it only show the informations for that specific person
>>> record.
>>>
>>> In the Init() event, it should begins with PARAMETER tcFirstName.
>>>
>>> Then, you can position the table at the right place and refresh the form.
>>
>>Shouldn't that be the Load event?
>
>Parameters can't be pass in the Load() even. Am I missing something? :)
I don't know about 5.0 but in 3.0 documentation says to use Init event to pass parameters to forms. However, Michel, you could pass parameters to load event of a form (LParameter) which is used for a different purpose.
I guess a form object has to be created before it can accept a parameter.

John
It's "my" world. You're just living in it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform