Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return value from a Form
Message
From
23/07/2008 01:50:25
 
 
To
23/07/2008 00:47:04
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
Miscellaneous
Thread ID:
01333380
Message ID:
01333386
Views:
15
In the unload event of the search form include this code:

RETURN cVar && cVar could be a variable for example

in the main form's button click event include this code:
do form search to cReturnValue && cReturnValue is the value returned from search form (cVar)

remember that the search form must be modal (WindowType=1)

Daskalopoulos Xenofon
KEK S.A.
Previous
Reply
Map
View

Click here to load this message in the networking platform