Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the return parameter from a MDI form ?
Message
 
 
À
26/07/2011 02:57:59
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01519135
Message ID:
01519185
Vues:
35
>Hi,
>
>My existing code calling the search form as follow:-
>
>
>DO FORM client_srh WITH gUserno TO cVarCusno
>
>
>the variable gUserno is parameter passing to the search form,
>the cVarCusno is return back the selected customer code from the search form.
>If using your solution, how to calling the search form ?
>
>Please advise.
>
>Thanks
>Derek

Using my solution

oParam = createobject('empty')

addproperty(oParam,'UserNo',m.gUserNo) && UserNo should be local var, not global

do form Client_Srh with oParam

--------------------
Form Client_Srh Init

lparameters toParam
thisform.oParam = toParam
thisform.UserNo = toParam.UserNo

.............
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform