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 / How to perform a clear...
Power Apps
Answered

How to perform a clear operation on the data last used for scanning?

(1) ShareShare
ReportReport
Posted on by 139

In the Canvas application, if I scan for data that doesn't exist, it's true that there's no data in the application, but if I scan for data that's already in the database and it's retrieved, and then I scan for data that's not in the database, then I find that instead of displaying a blank space, it's displaying the last retrieved result, and then it's displaying the last retrieved result.

图3.png
Categories:
I have the same question (0)
  • Verified answer
    v-hanytian-msft Profile Picture
    Microsoft Employee on at

    Hi @Elmer_Wan ,

     

    Please try this in the OnScan of BarCode Reader:

    If(IsBlank(BarcodeReader1.Barcodes),ClearCollect(Col,Blank()),ClearCollect(Col,Filter('0807-3',Title = First(BarcodeReader1.Barcodes).Value)))

    vhanytianmsft_0-1691474594284.png

    Hope this will help you,

    Best Regards,
    Tina

  • Elmer_Wan Profile Picture
    139 on at

    Thank you very much for your help, you provide a solution based on my testing has been able to solve my problem perfectly, the response is really efficient, the problem solving a in place, thank you very much for your help!

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard