cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
aeng30
Level: Powered On

Scan and Record Multiple Barcodes

Hi,

 

I'm creating an app where I would like to scan and record multiple barcodes. I need to be able to exit the barcode scanner in between scans as the barcodes won't necessarily be scanned continuously. Basically I need to scan a barcode, record to multiline text input then have the ability to scan additonal barcodes and have them record to the same multiline text input. 

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
jhall
Level 8

Re: Scan and Record Multiple Barcodes

Pretty straightforward and I just tested to verify.  Drop your scanner button onto your app and change the OnScan code to be similar to the following:

Set(gScanData,gScanData & Char(10) & BarcodeScanner1.Value)

You can optionally drop in an If() to check if gScanData is empty so you don't get a Line Break at the beginning of course.

Then add a MultiLine Text field and set the Default to be gScanData.

 

View solution in original post

1 REPLY 1
jhall
Level 8

Re: Scan and Record Multiple Barcodes

Pretty straightforward and I just tested to verify.  Drop your scanner button onto your app and change the OnScan code to be similar to the following:

Set(gScanData,gScanData & Char(10) & BarcodeScanner1.Value)

You can optionally drop in an If() to check if gScanData is empty so you don't get a Line Break at the beginning of course.

Then add a MultiLine Text field and set the Default to be gScanData.

 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 205 members 3,584 guests
Please welcome our newest community members: