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 / Creating QR code reader
Power Apps
Answered

Creating QR code reader

(0) ShareShare
ReportReport
Posted on by 21

I want to use barcod reader in powerapps. I have materials with unique codes. When i read the QR code, i want that material to enter the detail screen. But i have a problem with my code.

 

ClearCollect(
FoundProducts;
Filter(Inventory; Barcode = BarcodeReader1.Value)
);;

If(
CountRows(FoundProducts) > 0;
Navigate(DetailScreen1; ScreenTransition.Fade);
Notify("product not found"; NotificationType.Error)
)

 

BarcodeReader1.Value give an error. How can i do it?

I have a table named "inventory" in excel.

 

Thank you.

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

    Hi @eatalay ,

    Please try this:

    ClearCollect(
    FoundProducts;
    Filter(Inventory; Barcode = First(BarcodeReader1.Barcodes).Value)
    );;
    
    If(
    CountRows(FoundProducts) > 0;
    Navigate(DetailScreen1; ScreenTransition.Fade);
    Notify("product not found"; NotificationType.Error)
    )

    Hope this will help you,

    Best Regards,
    Tina

  • eatalay Profile Picture
    21 on at

    Thank you very much. It works 😄

  • CrisCasper Profile Picture
    36 on at

    Este código foi cetado no Onscan?

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

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard