cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Simple Barcode Scanner Question

Hi,

 

   I'm new to PowerApps and have, what I think is a super simple question. I am creating an app to track quality issues and want the user to be able to barcode scan the part number into a text input field.  However, for the life of me, I can figure out how to pass the scanned data into the text input field. I'm OK with whatever is in the field already being overwritten.  I've search the internet high and low and found a million examples but nothing quite as simple as what I want to do.  To be clear, I've attached a pic.  All I want to do is pass the scanned data into the "Part Number" text input box (see attached pic). 

 

   Thanks!

1 REPLY 1
jbrit2020
Continued Contributor
Continued Contributor

You should set the OnScan property of the scan button to this: Set(scanNumber,BarcodeScanner1.Value)

 

and then the label where you want the part number to show up you need to set the property item to 'scanNumber'.

 

That should do the I think

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,274)