Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a form
Message
 
To
08/08/2001 10:38:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00541286
Message ID:
00545031
Views:
19
Barry,

When the form is unloaded, I believe that any variables or properties that you created in the form to hold the data you want to return have already been released. This is why you are getting an undefined variable returned. A trick I use is to pick an unused global foxpro variable (like _GETEXPR )to hold the form's return value and return it in the unload event.

HTH
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Previous
Reply
Map
View

Click here to load this message in the networking platform