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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bar Code Scanner

Status
Not open for further replies.

roche786

Programmer
Sep 5, 2002
24
US
I am having few input fields in my asp page and a submit button. To enter the data in the input fields I have to use a barcode scanner and then I have to subit the data to the sql server data base. How do I do this . How can I implement this as I am new to bar code scanning.
 
The easiest way to do it is to set it up so that you can enter the data via keyboard, then get a keyboard wedge scanner. This type of scanner connects between the keyboard and the computer, and the data coming from the scanner appears to the computer as if somebody type really fast on a keyboard.

 
As for the submit button, if it is the default button you may be able to program the scanner to send an 'enter key' keypress after the scan.

You may also be able to program the scanner to send a 'tab' hit, and then an 'enter' hit, to tab to the next control and press the button.

By program the scanner just refer to the manual or the tech support for the scanner, some scanners also have buttons for programming.

If not the user will have to hit the submit button.

Andrew

 
I don't know much about ASP, but VB and VBA forms have an on update or on change event. I fire off my code from those when the keyboard wedge updates the field. Tyrone Lumley
augerinn@gte.net


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top