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 / Barcode reader output ...
Power Apps
Unanswered

Barcode reader output to text field

(0) ShareShare
ReportReport
Posted on by 56

I need the barcode to scan and fill in 3 text input fields named Machine ID, Check in Date and Check in Time. The check in date and time should be when the barcode was scanned. any solutions on how I can get the barcode to fill in the 3 fields? I need the code for OnScan and the text input fields. 

Categories:
  • WarrenBelz Profile Picture
    156,748 Most Valuable Professional on at

    Hi @rytze ,

    If you use this OnScan of the Barcode Reader

    UpdateContext(
     {
     varScan:
     {
     Code: First(Self.Barcodes).Value,
     ScanDate: Today()
     ScanTime: Now()
     }
     }
    )

    the three values will be available to you as

    varScan.Code
    varScan.ScanDate
    varScan.ScanTime

     

    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.

    MVP (Business Applications)   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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard