Hi guys,
I have a Barcodereader control and I would like to do different actions, based on whether it is reading a QR code or a barcode.
I have tried playing around with the 'BarcodeReader.BarcodeType' property, however can't quite figure it out.
I have set the OnScan of my Reader to:
ClearCollect(colScanCode; {scannedtype: First(BarcodeReader2.Barcodes).Type})
and for testing a label with text property set to
If(First(colScanCode).scannedtype = 'BarcodeReader.BarcodeType'.QRCode; "QR"; "Not QR").
I suspect the issue is the equality as I do not quite now what the output of BarcodeReader2.Barcodes).Type and didn't find any good ressources online.
Many thanks in advance.
BR,
Gonzo