web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / QR-Code scanner inform...
Power Apps
Answered

QR-Code scanner information seperating into different textboxes

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hello @Anonymous ,

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard