Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Actions based on length of control

Status
Not open for further replies.

mckenneyj

MIS
Jun 1, 2002
96
Building a small barcode scanning database
User Scans barcode into text box control on form
Length of complete scan is always 9
I need the control to automatically:
1 sense when it is at 9 characters in length
2 auto save the record at that point
3 blank the control (Null)
4 move to new record
5 wait for next scan

There should be know interaction with keybord or mouse
This is a continuous scaning senario


Thanks,
John McKenney
Work Hard... Play Harder
 
You may play with the AutoTab property of the TextBox control in a continuous form.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Autotab worked great when setting the input mask to 999999999

Thanks

Thanks,
John McKenney
Work Hard... Play Harder
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top