Where is the unload event of a form? the example below refers to it as I wish to pass back the results of a variable nameto a calling form.
2.In the code associated with the UnLoad event of the form, include a RETURN command with the return value.
3.In the program or method that runs the form, include the TO keyword in the DO FORM command.
For example, if FindCustID is a modal form that returns a character value, the following line of code stores the return value to a variable named cCustID.
DO FORM FindCustID TO cCustID
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."