Why when I scan barcode with my USB scanner the first barcode generate an unwanted row in my datagridview, but the second scan generate the right product.
I attach a pdf files for this challenging question.
a) I have a form named FrmBilling on which a combobox named BarcodesCBX received the scan for my USB scanner.
b) The possible barcodes are all into this field as you will see on my pdf files.
c) I take my scanner and scan any barcode, the row is added to my datagridview named OrderLinesDGV but that row shows the products information belonging to the first barcode in that combobox, then, if I scan the same barcode a second time I get the right product.
So everytime I scan a product, my application send the product information of the first barcode in the list, I scan the same barcode again and then the right product information is added in my datagridview.
I know someone must have encounter a similar behavior, I hope :)
Claude from Quebec, Canada
My first language being French please forgive the mistakes I do...132437-question-for-barcode-scans.pdf