Hello, I am making an app that scans barcodes of parts in a factory. Their are two barcodes. The first is the a location code and the second is the actual part. I have attached a photo of a gallery in the app that shows different Locations and their respective parts. I was wondering if their was a way when a location or a part number is scanned that a strikethrough can be placed over the text in the gallery letting the user know that part or location has already been scanned? Let me know what you think any help is much appreciated!
Solved! Go to Solution.
Hi @MaxWendorff ,
Do you want to record the values that have been scanned?
I've made a similar test for your reference:
1)find the value of barcode that was last identified by the scanner
LookUp(tablename,barcode=Barcode1.Text,loc)
2)save the scanned values to a collection
Collect(locvalue,{value:LookUp(tablename,barcode=Barcode1.Text,loc)})
3)Set the label in gallery
Strikethrough: If(ThisItem.loc in locvalue.value,true,false)
Then, if the value exists in the collection, the value will have a strikethrough.
Here's a doc about scanner for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-barcodescanner
The scanner's text property is the only one that can represent the value that has been scanned.
Best regards,
Community Support Team _ Phoebe Liu
Hi @MaxWendorff ,
Do you want to record the values that have been scanned?
I've made a similar test for your reference:
1)find the value of barcode that was last identified by the scanner
LookUp(tablename,barcode=Barcode1.Text,loc)
2)save the scanned values to a collection
Collect(locvalue,{value:LookUp(tablename,barcode=Barcode1.Text,loc)})
3)Set the label in gallery
Strikethrough: If(ThisItem.loc in locvalue.value,true,false)
Then, if the value exists in the collection, the value will have a strikethrough.
Here's a doc about scanner for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-barcodescanner
The scanner's text property is the only one that can represent the value that has been scanned.
Best regards,
Community Support Team _ Phoebe Liu
User | Count |
---|---|
140 | |
136 | |
77 | |
75 | |
69 |
User | Count |
---|---|
224 | |
186 | |
68 | |
63 | |
57 |