Hi Dan,
>I've got it. But when trying to click out of the field, I still get an invalid input.
Put this in the Valid then:
llreturn = iif(thisform.nLastKey = 127,0,.T.)
thisform.nLastKey = 0
return llReturn
You will actually have to click twice, but the user will just think he missed ;-)
And don't say anything about this coming a week later, I just got reminded of it a second ago.