>>>LPARAMETERS nKeyCode, nShiftAltCtrl >>>if between(nKeyCode, 32, 255) and isalpha(chr(nKeyCode)) >>> NODEFAULT >>> DODEFAULT(Asc(Upper(Chr(nKeyCode)))) >>>ENDIF>>
>If nKeyCOde>0 and ISALPHA(CHR(nKeyCode)) > NODEFAULT > nKeyCode=ASC(UPPER(CHR(nKeyCode))) > DODEFAULT() >EndIf>This code, where I have separated the two condiotions, works....!
>If nKeyCode>0 > If IsAlpha(Chr(nKeyCode)) > NoDefault > nKeyCode=Asc(Upper(Chr(nKeyCode))) > DoDefault() > EndIf >EndIfNow you're gone from just one parameter in dodefault() to zero. So, dodefault with what exactly?