I have a USB scanner that I use to input into a textbox. The issue is that I'll need to check for a barcode that is 6 digits long and another that is 9 digits long. Since the characters come in one at a time the 6 char length condition will always be satisfied. Has anyone had to deal with something like this?
As Ed says, you need to read all of the characters from the Barcode reader before processing it. If the reader can read Barcodes that translate to either 6 or 9 or N digits, there must be a termination character included in its output?
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
Bookmarks