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 set the barcode...
Power Apps
Answered

How to set the barcode to null

(0) ShareShare
ReportReport
Posted on by

Hello Everybody

 

I have made an app. These App uses a Barcode reader and writes its value into a DataCard.

 

After I open a new List element the Value is still in the Datacard. How can i remove this?

looky_123_0-1717509047257.pnglooky_123_1-1717509062944.png

 

Categories:
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @looky_123, on the click on the list item, add ResetForm(FormName) then NewForm(FormName)

     


     

    If my reply helped you, please give a 👍 If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it more.

    Visit my Blog: ahmedsalih.blog

    Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos

  • looky_123 Profile Picture
    on at

    Hello which Item do you mean?

  • AhmedSalih Profile Picture
    6,680 Moderator on at

    @looky_123, you said "After I open a new List element" What do you select to open new Item? 

     


     

    If my reply helped you, please give a 👍 If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it more.

    Visit my Blog: ahmedsalih.blog

    Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos

     

  • looky_123 Profile Picture
    on at

    @AhmedSalih I have did this but after I tried it out the value is still in the DataCard

     

    looky_123_0-1717574452282.png

    looky_123_1-1717574468398.png

     

     

  • AhmedSalih Profile Picture
    6,680 Moderator on at

    @looky_123, also reset the BarCode Scanner control in the same line of your formula.

  • looky_123 Profile Picture
    on at

    @AhmedSalih I have tried but somehow this doesn't work too.

    looky_123_0-1717672954023.png

     

  • Verified answer
    AhmedSalih Profile Picture
    6,680 Moderator on at

    @looky_123, check this solution by @LaurensM  to reset the Barcode Scanner control by using variables: https://powerusers.microsoft.com/t5/Building-Power-Apps/Reset-Barcode-Reader/td-p/2107226

  • looky_123 Profile Picture
    on at

    Thank you for the Solution

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

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard