Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM...TO...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00390329
Message ID:
00390378
Views:
10
>Can a form return multiple variables in it's UNLOAD event? For example, I want a form to return a date range so I can run a report.

You can use "Mike Helland's" technique:
do form myform name myName
in cmdClose put thisform.Hide
datefirst=myName.datefirst
datesecond=myName.datesecond
myName.Release()

Better find the original thread, because I've just showed the scheme...
(Thread title something like "Multiple return")
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