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 / Insert text with barco...
Power Apps
Answered

Insert text with barcode reader

(0) ShareShare
ReportReport
Posted on by 63

Hi, please help to know how can I write de code of scan in the text box.

I need that when I send the code to be scanned it is written in the text box and then create a button that directs me to the data that is already registered.

Scan text.JPG
Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @MazingerZ_68 

     

    put this in the Onscan property of the var code scanner:

     

    Set(ScannedValue, BarcodeScanner1.Value)
    

     

    And then, set the Default property of the TextInput1 to ScannedValue. This formula stores the scanned barcode value in a variable named ScannedValue and then sets that value as the default for the text input field

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard