>Is there a way to disable a key on the keyboard. My users have a bad habit of putting a dash'-' in the job number field. The field is a mix of alpha/numeric characters. Thanks for your help.
>
>God Bless,
>S. Dyke
Steven,
Create a textbox clas for the Job number and put this in teh Keypress evetn of that class;
LPARAMETERS nKeyCode, nShiftAltCtrl
IF CHR(nKeyCode) = "-"
?? CHR(7)
NODEFAULT
ENDIF