HI All,
I have a barcode scanner on my app, after I scan, I load a variable, to hold the barcode. I have a gallery that will pull the data from my SPO list that matches the Barcode.
Is there a way to check if the barcode exists? I would like to popup a message "Bar Not Found".
I have an HTML text box that is visible when "VarshowEmptyBar" = true
The "On Scan" property is set to:
Set(VarBarcode, BarcodeScanner2.Value); // gallery Items are based on this variable...
If(CountRows(BrowseGallery_Lookup.AllItems) = 0, UpdateContext({VarshowEmptyBar:true}),UpdateContext({VarshowEmptyBar:false}))
I am having an issue, when I scan, I get the message pop up, regardless of weather the barcode is there or not. If the bar exists, the data comes back, but so does the popup.
Does anyone know how to avoid the popup if there is a match?
It almost seems like I need a delay after I scan. The check seems to fire off before the data comes back.
Thanks,
Joe