Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a Key Press
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00303395
Message ID:
00303399
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform