Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the return parameter from a MDI form ?
Message
 
 
To
26/07/2011 02:57:59
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01519135
Message ID:
01519185
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform