Data input into a text box

N

Nick T

Hi,
Suggestions anyone?
I have created a database for which one function is to input a number into a
text box. I have currently done this using command buttons (numbered 0-9)
enabling the user to click the relivant command button and on doing so the
number appears in the text box above. (great - all works fine)!
However, i want to complicate things further, and attach a barcode reader to
the computer, so that when a barcode is scanned, the decoded number appears
in the text box. The barcode reader decodes the barcode, but any ideas on
how i programme the text box so that it receives the information from the
barcode reader. (the barcode reader will be plugged into a USB port on the
computer)???

Any suggestions greatly appreciated.

Nick
 
J

John W. Vinson

Hi,
Suggestions anyone?
I have created a database for which one function is to input a number into a
text box. I have currently done this using command buttons (numbered 0-9)
enabling the user to click the relivant command button and on doing so the
number appears in the text box above. (great - all works fine)!
However, i want to complicate things further, and attach a barcode reader to
the computer, so that when a barcode is scanned, the decoded number appears
in the text box. The barcode reader decodes the barcode, but any ideas on
how i programme the text box so that it receives the information from the
barcode reader. (the barcode reader will be plugged into a USB port on the
computer)???

Any suggestions greatly appreciated.

Nick

Most barcode readers connect to the computer via the keyboard input,
at least they are seen by the computer as a keyboard. As such,
scanning a barcode looks to the computer as if a user were typing very
fast and accurately.

Just set the focus to the textbox bound to the field, and scan away.
The barcode value should appear in the textbox with no code or special
processing required.

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top