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

set labels with QR content

I have a screen with a scanner control I need to scan the content of the QR code and show in the LABELS

 

How do I achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: set labels with QR content

Hi @King ,

 

Are all your results in the same text formula like: "A B"/"C D"/"E F"? If so, then you can achieve this using the Split function and split the result with blank space.

 

In Label1, set below formula:

First(Split(Scanner1.Value," ")).Result

In Label2, set below formula:

Last(Split(Scanner1.Value," ")).Result

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

Re: set labels with QR content

I did it by placing Barcode Scanner. the problem is that all the QR information is repeated in the tags The code has a name and a code. for example Name Jhon Code 123acf and on the label it appears: JHON 123ACF The result I expect is separately in one tag the name and in another tag the code How do I achieve this?

Community Support Team
Community Support Team

Re: set labels with QR content

Hi @King ,

 

Are all your results in the same text formula like: "A B"/"C D"/"E F"? If so, then you can achieve this using the Split function and split the result with blank space.

 

In Label1, set below formula:

First(Split(Scanner1.Value," ")).Result

In Label2, set below formula:

Last(Split(Scanner1.Value," ")).Result

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

King
Level: Powered On

Re: set labels with QR content

Hi @v-monli-msft 

 

It works with 2 fields but what happens if the QR contains 7 fields and I want each field in different labels as I would apply the formula in case I need it in the future?

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: 236 members 6,273 guests
Please welcome our newest community members: