That's a really smart idea, I am not sure if my own barcdode readers can programmed that way.
>I configure my scanners to send a character before the data (I use a !). This way my program can check the string and determine what to do with the data. I do this in the keypress method.
>
>
>>Hi,
>>
>>In our POS Application, users will sometimes inadvertently scan a barcode when the app is expecting an amount tendered (a numeric field). Since the scanner is set to add a CRLF the app thinks the amount tendered is some huge amount and happliy tells the cashier to give the customer a nice fat amount of change.
>>
>>Is there anyway to tell the app to accept data from the barcode scanner only when I want a barcode?
>>
>>Thanks,
>>
>>Ken