>As I understand it, you want the user to be able to click cancel on your form
>without firing the validation routines for whatever field they are on. here
>you can take advantage of the fact that when clicking a button, the Button's
>When event fires before the current controls lostfocus.
I think I prefer the answer which is usually given here to this question. Set the button.Cancel property = .T. This will make it act as if the Escape key has been hit, so that you can check
IF LASTKEY()=27
at the beginning of your validation code.