Hi,
There is a combo box on a form with some testing in valid procedure. If test is not successful, procedure ends with RETURN 0 to prevent leaving the control.
Testing has no sense when the user is about to leave the form with Cancel-like button. Solution for such situation was discussed here sooner (thread1254-839231). But I'd like to suppress validation also when Query unload occurs (shutting down the form via clicking the "X").
Any suggestions?
Thank you in advance.
Tom
There is a combo box on a form with some testing in valid procedure. If test is not successful, procedure ends with RETURN 0 to prevent leaving the control.
Testing has no sense when the user is about to leave the form with Cancel-like button. Solution for such situation was discussed here sooner (thread1254-839231). But I'd like to suppress validation also when Query unload occurs (shutting down the form via clicking the "X").
Any suggestions?
Thank you in advance.
Tom