mokaval
Posts: 7
|
| Posted: 10/12/2007, 3:55 PM |
|
Hi
as anyone ever programmed a barcode scanner to an application. I'd like to be able to plug a barcode scanner to a cell in an application, then once the barcode is captured to execute automaticaly the insert. This is to be able to walk into a warehouse, scan a product on a shelf, an insert a one quantity of a product into a database table.
Is this clear enough
thanks
Fernand
_________________
Fernand St-Georges |
 |
 |
wkempees
Posts: 1679
|
| Posted: 10/14/2007, 6:16 AM |
|
Normaly a barcodescanner will read the barcode, generate the keystrokes and optionaly add a 'RETURN' to it.
In your case, if the above is true for your B-scanner, you might want to change the return into a TAB to move to the next field in order to enter the quantity.
In anycase it is possible to have a field generate a form submit() upon onload.
These two should make it possible?
Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
mokaval
Posts: 7
|
| Posted: 10/14/2007, 7:32 AM |
|
If it does as you say, there is always a carriage return that comes with the code. This could be the best for me, because the date and the quantity (1) would be written automatically. The form ought to be cleared after the enter, for the next.
_________________
Fernand St-Georges |
 |
 |
wkempees
Posts: 1679
|
| Posted: 10/14/2007, 11:12 AM |
|
The carriage return should automatically press the default button on the form, possibly the insert, set it as default. As an extra the field could to the submit action.
All in all not to difficult, nest pas
walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
|