Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning values
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00006630
Message ID:
00006637
Vues:
47
>>>I have a desktop form that calls a modal employee
>>>lookup form which contains a listbox of employees.
>>>I want the modal form to return the value of the
>>>double clicked employee to the desktop form.
>>>
>>>I open the modal form with Do Form and made sure
>>>its modal..but when trying to place the return
>>>code in the unload method I keep getting syntax
>>>errors.
>>>
>>>I'm using: return nEmplID to frmDesktop
>>>
>>>where nEmplid is a public variable and frmDesktop
>>>is the calling form...what am i doing wrong?
>>
>>Run your form with:
>>Do YourForm to YourResult
>>where Your Result is a variable where you receive the result from YourForm
>>
>>In the Unload method issue only:
>>return nEmplID
>
>
>And if I remember correctly this is ONLY for Modal forms! (s)
>
>Tom

I'm sorry, but I didn't understood what is only for modal forms.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform