>According to the VFP6 help system you can return a value from a form by placing a "return value" statement in the "UNLOAD" event. However, by the time UNLOAD the DESTROY event has already trashed all of your form variables. How can I return a form variable value from a form?
As Trey mentioned, your form variable have not been destroyed by the time the Unload event occurs, but all the objects on the form have been. If you're trying to return something like the value of a textbox, you have to save that value in a form variable first.