cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DanielaH
Level 8

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
Community Support Team
Community Support Team

Re: Concatenate barcodes

Hi @DanielaH,

 

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.
2 REPLIES 2
Community Support Team
Community Support Team

Re: Concatenate barcodes

Hi @DanielaH,

 

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
Level: Powered On

Re: Concatenate barcodes

Hi,

Im Use this: 

 


@DanielaH 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) )  

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 136 members 4,530 guests
Please welcome our newest community members: