You can also check for the '-' in a VALID and strip it out or give your user an error. USE ATC() or AT() for that. IF you use the INKEY(), you may want to use it in combination with LASTKEY().
>INKEY() will allow you to check your user's input.
>
>
>>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
Michael Helms
May the Schwartz be with you.<(©¿©)> -- Mel Brooks
"Someday, and that day may never come, you will be called upon to perform a service" -- Vito Corleone
"Live like there is no tomorrow, Dance like no one is watching, Love like you've never been hurt." -- Anonymous
"I'm thinking about joining the campaign for shorter tag lines." -- Me