Kirk,
I'd unbind that control from the table field. You are much freer to do what you please with it then.
Also look setting .Cancel=.t. on your Revert button. Then your Valid can test lastkey()=27 to know if the button was clicked.
>I have a form where the user enters a stock Number. In the valid clause I check to make sure that it is not a duplicate. If it is, I return .F. I used the basic form wizard to create the form. So my user is sitting in add mode, and now that they know the stock number is already on file, they want to click revert. The only way they can is to type a unique stock number and then click revert. Is there a way to avoid the valid if they click on revert or close the form?