Hi!
If the form is modal, you can use "return ThisForm.uRetVal" in the unload event of the form. To get value returned by such way, use command like:
DO FORM ... WITH ... TO MyVariable
MyVariable will get a returning value.
For modeless forms you need some other approach depended on how you use them...
>Hi, I want to return a value from a form and I set ThisForm.uRetVal. I must hide the form? Is there any way to release the form? I don´t want to keep something in memory that will not be used again.
>
>Regards,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.