>>And what's wrong with ISALPHA([d])?
>
>I don't know since I can not work that quick on more than 10 things at once.
>
>I've tried
>
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>if between(nKeyCode, 32, 255) and isalpha(chr(nKeyCode))
> NODEFAULT
> DODEFAULT(Asc(Upper(Chr(nKeyCode))),nShiftAltCtrl)
>ENDIF
>
>And in quick tests didn't get errors.
>
>However, Copy-paste obviously didn't work and should be handled separately.
No, the"bug" is here only if you didn't pass second parameter:
LPARAMETERS nKeyCode, nShiftAltCtrl
if between(nKeyCode, 32, 255) and isalpha(chr(nKeyCode))
NODEFAULT
DODEFAULT(Asc(Upper(Chr(nKeyCode))))
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.