LPARAMETERS nKeyCode, nShiftAltCtrl IF between(m.nKeyCode, 97, 122) && a - z NODEFAULT nKeyCode= m.nKeyCode - 32 && a -> A *-- CHANGE - NN - December 15, 2005 - 11:34:19 - added parameters to the call DODEFAULT(m.nKeyCode, m.nShiftAltCtrl) ENDIF>Well, I was afraid of that. Glad you sent over that code. I was thinking about testing the range of nKeyCode and wasn't thinking about ISALPHA (a command I don't find much use for), but it's a more sublime solution.
>>If ISALPHA(CHR(nKeyCode)) >> NODEFAULT >> nKeyCode=ASC(UPPER(CHR(nKeyCode))) >> DODEFAULT() >>EndIf