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

QR-Code scanner information seperating into different textboxes

Hello!

I am having a QR code scanner inside of my application and the code inside will always be the following: 5 numbers-2 numbers_4 numbers

Example: 18074-12_0009

Now what I need is this this: whenever I scan the code, this will be put into a textbox: 18074-12_0009

Is it possible to have 3 text boxes instead of 1? The first one having the first 5 numbers, second textbox having the 2 numbers in the middle and the third textbox, the last 4 numbers?

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Level 8

Re: QR-Code scanner information seperating into different textboxes

Hello @TimoMigchielsen ,

I posted something similar for you a short time ago and the same logic can be used.

So calling the Boxes Code1, Code2 and Code3 and the scanner name ScanCode

The Default of the boxes will be as follows

Code1

Left(ScanCode.Value,4)

Code2

Mid(ScanCode.Value,6,2)

Code3

Right(ScanCode.Value,4)

The OnScan property of ScanCode will be

Reset(Code1);
Reset(Code2);
Reset(Code3)

and it all should drop into the boxes

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

1 REPLY 1
WarrenBelz
Level 8

Re: QR-Code scanner information seperating into different textboxes

Hello @TimoMigchielsen ,

I posted something similar for you a short time ago and the same logic can be used.

So calling the Boxes Code1, Code2 and Code3 and the scanner name ScanCode

The Default of the boxes will be as follows

Code1

Left(ScanCode.Value,4)

Code2

Mid(ScanCode.Value,6,2)

Code3

Right(ScanCode.Value,4)

The OnScan property of ScanCode will be

Reset(Code1);
Reset(Code2);
Reset(Code3)

and it all should drop into the boxes

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,633)