Hello all,
I am planning on using the barcode scanner functionality within my app, however need some help with this:
App users will have barcode scanners to scan several items in quick succession. Each barcode should be captured, in a way that makes the user experience as easy as possible.
I see two options here, any suggestions would be highly appreciated:
Overall I am also open to other ideas! 🙂
Solved! Go to Solution.
Thanks for the suggestion.
I also found another way, in which the user needs to select a text input field only once before scanning multiple barcodes in quick succession. Then I patch the entry and replace the carriage return character with ";" to create a string containing all scanned barcodes:
Patch(Collection, First(Collection), {Barcodes: Substitute(Barcode.Text, Char(10), Char(59)&" ")})
The Barcode Scanner won't save the scannedstring automatically, so a button is needed to collect the actual string, once the number is stable, we can click the button to collect it.
Under the OnSelect property of the button, input the formula below:
Collect(BarcodeList, {Number:Barcode1.Text})
This formula would collect every single click with the button to a record, so there might be blank or the wrong values collected.
Once done, you may use the concat () function to combine those string into one single string:
For example:
Concat( BarcodeList, Number&";" )
Some more readings about the Barcode control:
Create a barcode scanning app in minutes
Regards,
Michael
Thanks for the suggestion.
I also found another way, in which the user needs to select a text input field only once before scanning multiple barcodes in quick succession. Then I patch the entry and replace the carriage return character with ";" to create a string containing all scanned barcodes:
Patch(Collection, First(Collection), {Barcodes: Substitute(Barcode.Text, Char(10), Char(59)&" ")})
User | Count |
---|---|
195 | |
125 | |
88 | |
48 | |
42 |
User | Count |
---|---|
280 | |
164 | |
138 | |
81 | |
76 |