cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Concatenate barcodes

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:

 

  1. Concatenate scanned barcodes to generate a string like “2766610; 2766612; 2766614” ... how would I write the syntax to do that?
  2. Capture each barcode in a separate textbox (as shown below). This is problematic for user experience though since the user needs to select each text entry field before being able to scan the barcode… unless there is a way to automatically jump to another text entry field?

 Overall I am also open to other ideas! Smiley Happy

Barcodes.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @Anonymous,

 

You could add a button control and set its OnSelect property to:

Collect(C,{Test:Barcode1.Text})

And add a Gallery/Data table control to show this "C" collection.

webwxgetmsgimg.jpg

 

I just tested and this works for me.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @Anonymous,

 

You could add a button control and set its OnSelect property to:

Collect(C,{Test:Barcode1.Text})

And add a Gallery/Data table control to show this "C" collection.

webwxgetmsgimg.jpg

 

I just tested and this works for me.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ulisesrc
Frequent Visitor

Hi,

Im Use this: 

 


@Anonymous wrote:

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:

 

  1. Concatenate scanned barcodes to generate a string like “2766610; 2766612; 2766614” ... how would I write the syntax to do that?
  2. Capture each barcode in a separate textbox (as shown below). This is problematic for user experience though since the user needs to select each text entry field before being able to scan the barcode… unless there is a way to automatically jump to another text entry field?

 Overall I am also open to other ideas! Smiley Happy

Barcodes.JPG



Collect( '[dbo].DB', { ID_Actividad: Text(id_Actividad), Fecha_Act: Text( Now(), DateTimeFormat.LongDateTime ), Scan: Concat( collectMultiScan, "Info: " & BarcodeInfo & Char(44) & "Wh: " & WhenScanned & Char(44) & Char(44) )  
JAWL
Super User
Super User

Have you figured out point #2, automatically jump to next field after scanning barcode?

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (3,342)