>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.
>
Double-click on your form (desing mode).
Open the listbox on upper right of the code window.
It is there near the bottom of the list.
Click on it.
>
>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
This could be OK.
:)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca