cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TimoMigchielsen
Post Prodigy
Post Prodigy

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
Super User III
Super User III

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
Super User III
Super User III

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (65,508)