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

Error with ","

(0) ShareShare
ReportReport
Posted on by 11

Francois2_0-1692970119381.png

Hi

I have red many topic concerning the error and try a lot of things but i'm stock. I dont understand why the "," is the problem in my formula (all my formulas). 

 

Thanks

Categories:
  • rpersad Profile Picture
    831 on at

    Sometimes when copying and pasting code does not process the full syntax.

    Other than that, the issue could be due to the property of the control. Where have you written this code.

  • Francois2 Profile Picture
    11 on at

    I have written it in the DEFAULT of the LABEL

    Francois2_0-1692971109408.png

     

  • rpersad Profile Picture
    831 on at

    In you code the Split returns a collection of values. If you would like to get the N item from your collection use the code:

     

    Save the values into a collection:

    ClearCollect(varBarcode,Split(BarcodeRead1.Value,","))

     

    Get the Nth item from the barcode, for your Default property.

    Last(FirstN(Split(varBarcode.Value,","), N))

     

  • Verified answer
    Francois2 Profile Picture
    11 on at

    You said, save the values into the collection but where. IM, new in Power Apps and I don't no where to paste the code ? In witch property of wich label ?

  • rpersad Profile Picture
    831 on at

    You can put it right after you scan the code and get the value in BarcodeReader1.

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 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard