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 Apps
Unanswered

scaner de Codigos

(0) ShareShare
ReportReport
Posted on by 2

Good evening ,

Can you help me? I am making a form which should have a single button to scan the products and it is recorded according to the text field that you select. I already created it but I don't have the function to make it dynamic based on the selection of the text box.

 

 

Nicolas1190_0-1652140695624.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    155,540 Most Valuable Professional on at

    Hi @Nicolas1190 ,

    On the OnSelect of the Text Boxes, set a Variable (example)

    UpdateContext({varSelected: "Candidad1"})

    Then the Default

    If(
     varSelected = "Candidat1",
     ScannerName.Value
    )

     

    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.

    Visit my blog Practical Power Apps

  • Nicolas1190 Profile Picture
    2 on at

    Hello Warren, thanks for answering, but I have established the variables in the 2 text boxes in the Onselec function, but when selecting the product scanner button, it continues to scan the 1st product.nothing is recorded

    Nicolas1190_0-1652149649041.pngNicolas1190_1-1652149692791.pngNicolas1190_2-1652149726068.png

     

  • WarrenBelz Profile Picture
    155,540 Most Valuable Professional on at

    Hi @Nicolas1190 ,

    Did you check the value of varSelected ? It should go in the correct box assuming your Defaults are set as well.

  • WarrenBelz Profile Picture
    155,540 Most Valuable Professional on at

    Hi @Nicolas1190 ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    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.

    Visit my blog Practical Power Apps

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 408

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 319

Last 30 days Overall leaderboard