Hello there,
I have a barcode scanner that I want to read a specific barcode on a pallet label. The issue is the pallet label has 2 different barcodes on it.
I would like it to read the top barcode with 47 characters and ignore the bottom barcode. However, when both barcodes are in view, it seems to read the bottom barcode by default as it is shorter. The code below manages to ignore the barcode and post the warning message, but it also kicks the app out of scanner mode.
I would instead like it to stay on the scanner screen and only return a result once the Correct length barcode has been identified. Does anyone have any ideas how to achieve this?
I appreciate the help, Mark
If(Len(Self.Value)<45,Notify("You have Scanned the Wrong Barcode",Warning),Patch('QMS Checks Scanner', {Title: BarcodeScanner2.Value, 'Barcode Type': BarcodeScanner2.Type, 'Scanned Person': User().FullName, 'Scanned Time': Now()});Set(varScan, BarcodeScanner2.Value))