>In the QueryUnload event of a form I have the following code and the form it's being released if I select Yes or No.
>
>IF MESSAGEBOX('Release?',4) = 7
> RETURN .F.
>ELSE
> THISFORM.Release()
>ENDIF
Morys,
If you wish to keep the form from releasing you need a NODEFAULT or it'll release anyway. Further, the call to release isn't necessary unless you have some code that needs to go there.
George
Ubi caritas et amor, deus ibi est