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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / OnScan change text pro...
Power Apps
Unanswered

OnScan change text properties?

(0) ShareShare
ReportReport
Posted on by 87

Hello, I am making an app that scans barcodes of parts in a factory. Their are two barcodes. The first is the a location code and the second is the actual part. I have attached a photo of a gallery in the app that shows different Locations and their respective parts. I was wondering if their was a way when a location or a part number is scanned that a strikethrough can be placed over the text in the gallery letting the user know that part or location has already been scanned? Let me know what you think any help is much appreciated!

 

GalleryCapture.PNG

 

Categories:
I have the same question (0)
  • Verified answer
    v-yutliu-msft Profile Picture
    on at

    Hi @MaxWendorff ,

    Do you want to record the values that have been scanned?

    I've made a similar test for your reference:

    1)find the value of barcode that was last identified by the scanner

    LookUp(tablename,barcode=Barcode1.Text,loc)

    2)save the scanned values to a collection

    Collect(locvalue,{value:LookUp(tablename,barcode=Barcode1.Text,loc)})

    3)Set the label in gallery

    Strikethrough:  If(ThisItem.loc in locvalue.value,true,false)

     

    Then, if the value exists in the collection, the value will have a strikethrough.

     

    Here's a doc about scanner for your reference:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-barcodescanner

    The scanner's text property is the only one that can represent the value that has been scanned.

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard