Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Absorbing a key
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01228355
Message ID:
01228365
Views:
18
>We have a labor system that we will sometimes use with a barcode reader. Currently the employee keys in their employee number and a messagebox confirmation pops up and confirms that they are who they say they are. have added a "~" character into the barcode of the employee's number on their badge so instead of "1234" it is acually "~1234" and I was thinking that I could change the Keypress or another method on the textbox on the labor entry form so it absorbs the "~" when it sees it and reads the 4 characters after that and displays them in the textbox without the "~" and sets a flag that the user is using a barcode. What is the best way to absorb a key, with which method?

What about changing the input mask to only accept numbers? i.e. 99999
Previous
Reply
Map
View

Click here to load this message in the networking platform