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 / Collecting Data throug...
Power Apps
Answered

Collecting Data through Barcode Scanner into 4 Different Text Inputs

(0) ShareShare
ReportReport
Posted on by 6

Hi. I'm currently modifying my app to be able to use Data Matrix scanning via phone. I'm adding a Barcode Scanner button that when scanning the Data Matrix, gives me a similar string,

 

"STRING1  STRING2  STRING3  STRING4"

 

I need a way to automatically load each one of these small substrings into a separate text input for each string. I tried using the split function but couldn't quite get it to work.

 

See the attached photo for reference

Screenshot 2022-09-20 164943.png
Categories:
I have the same question (0)
  • Verified answer
    AaronKnox Profile Picture
    514 Super User 2024 Season 1 on at

    In each text input default property use this formula, changing the number 1-4 to correspond to the text box order:

    Index(Split(BarcodeScanner1.Value, " "),1).Result
  • rhodsey09 Profile Picture
    6 on at

    I just tried this, but the result only appeared in the first text box and it contained the whole string. The other three text boxes were left blank.

  • rhodsey09 Profile Picture
    6 on at

    Also I think it is a tab in between each string and not a space, if that has any impact.

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard