Input mask for a barcode scanner

Gkirkup

Registered User.
Local time
Today, 16:45
Joined
Mar 6, 2007
Messages
628
I create barcodes on various forms, and I want to be able to use a barcode scanner to read the barcodes without the need to press 'Enter' after the scan. The barcodes are 6 alphanumeric digits.
I have tried using an input mask, like AAAAAA (requires a letter or number), but it just sits there after the scan waiting for an 'Enter' press. Is there a way for the input mask to know how many letters or numbers are needed, then move to the next field?

Robert
 
In my experience barcode scanners can be set to send a Tab or Enter after the scan. I use the after update event of the textbox to handle the scan, never used an input mask on that textbox. I'd check your scanner documentation or search on the model.
 
Under Properties - Other Tab for the Textbox...set the AutoTab Property to Yes.

When the last character permitted by the Textbox Control's Input Mask is entered...Focus will move to the next Control in the Form's Tab Order.

Linq ;0)>
 
Will AutoTab work with scanned input? Or only with typed input?
 
It's always been my understanding that input via scanner is treated the same as input via the keyboard...and I'm pretty sure that I seen this used successfully in that manner...but have no scanner to check it with.

Linq ;0)>
 
Missinglinq: Yes, that worked perfectly. Thank you.
 

Users who are viewing this thread

Back
Top Bottom