>Thanks,
>
>I tried that but even with buffering, when I click cancel without tabbing out of the field, the dbc validation still triggers. The manual says this will happen but surely there's a way to let the user out without having to enter valid data in the field when they are cancelling the update.
>
>TIA
>Chris
In the Valid of the control:
IF LASTKEY() = 27
* User pressed Escape
RETURN .T.
ELSE
* Validation code goes here
ENDIF
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer