Do this in your Valid event on the text box:
IF THISFORM.RELEASETYPE = 1 THEN
RETURN 1
ELSE
ENDIF
Does anybody know if there are any way to intercept the valid method?
>i need do this in the case the user click the cross in the upper right corner of the window, and i dont want to run the code in the valid because he wants to exit...
>Sorry about my poor english!
I feel your pain :) been in USA for over 6+ years and my girlfriend is still teasing me about my English :)
HTH,
- Erik Niese-Petersen
Crazy Dane in USA.