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
Answered

General Question

(0) ShareShare
ReportReport
Posted on by 62

Hi,

I attached a picture of my screen explaining my doubt.

I would like to detect When a barcode is duplicated in my Lists CheckFlow in column Digitalizacao do Tubo 1 MO.

 

Furthermore, I would like a notification to appear accusing duplicity of information 🙂

 

Please

doubt.png
Categories:
I have the same question (0)
  • Verified answer
    rpersad Profile Picture
    831 on at

    Before patching to the CheckFlow list use the LookUp and isBlank function to determine if the barcode is in the list.

     

     

     

    If(IsBlank(LookUp(CheckFlow;'Digitalizacao do Tubo 1 MO' = BarcodeScanner1_2.Value; "Digitalizacao do Tubo 1 MO"));
    Patch(CheckFlow; Defaults(CheckFlow); {'Digitalizacao do Tubo 1 MO':BarcodeScanner1_2.Value};;{'Codigo Grade':BarcodeScanner1_1.Value};; {Data: Now()});
    Patch(CheckFlow; 'Digitalizacao do Tubo 1 MO' = BarcodeScanner1_2.Value;{'Digitalizacao do Tubo 1 MO':BarcodeScanner1_2.Value};;{'Codigo Grade':BarcodeScanner1_1.Value};; {Data: Now()})

     

     

     

     How the code works is it searches for row that value in the "Digitalizacao do Tubo 1 MO" column and returns the value. Then checks to see if a value is return. If no value is returned then it is a new barcode and will create a new row, else it would update the row

  • laizcb Profile Picture
    62 on at

    What Im doing wrong?

    Imagem1.png
  • rpersad Profile Picture
    831 on at

    Change the comma after Checkflow into a semi-colon. That was a mistake on my end because I believe there is a difference in syntax due to the difference in language.

     

    So in a case where I would use "," you would use ";"

    and where I would put a ";" you would use ";;"

  • laizcb Profile Picture
    62 on at

    @rpersad 

     

    Thank you so much!

  • laizcb Profile Picture
    62 on at

    its working 🙂

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

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard