cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wbeedge
Level: Powered On

Barcodescanner onselect / reset

The new barcode scanner has no Onselect methode.
When having a textbox bound to the barcode scanner and processing the barcode
(send mail or submit to sharepoint) there is no way to reset the text control since it's default text is set
to the barcode scanner. The barcode scanner has no reset or default value.

It would increase productivity to have this available and when having processed the data 
resetting the barcode scanner value or even having the possibility to select the barcode scanner
for the next scan.

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft dinusc
Microsoft

Re: Barcodescanner onselect / reset

Hello @wbeedge,

Can you please confirm that you're using the latest BarcodeScanner control (as in the picture below) and not one of trhe legacy versions?Capture.PNG

 

 

The new one does not include a TextBox (Label or TextInput) control. You should be able to add any formulas, including resetting the bound TextInput control

 

 

View solution in original post

6 REPLIES 6
Microsoft dinusc
Microsoft

Re: Barcodescanner onselect / reset

Hello @wbeedge,

Can you please confirm that you're using the latest BarcodeScanner control (as in the picture below) and not one of trhe legacy versions?Capture.PNG

 

 

The new one does not include a TextBox (Label or TextInput) control. You should be able to add any formulas, including resetting the bound TextInput control

 

 

View solution in original post

h-nagao
Level 10

Re: Barcodescanner onselect / reset

This blog may help you, suggesting great workaround to reset scanned text from new Barcode scanner.

https://qiita.com/tomikiya/items/5f90c43a3ce714090260
*This is in Japanese but you can translate by Google.

Thanks
RUINSINK
Level: Power Up

Re: Barcodescanner onselect / reset

I could use the feature of Select the barcode scanner once the data is processed so it would be ready to scan the next barcode. I shouldn't need to press the barcode scanner button every time I want to scan a barcode. The barcode scanner creates a button. It should have an OnSelect property. Thanks.

Power Apps Staff mobaky
Power Apps Staff

Re: Barcodescanner onselect / reset

Hello @RUINSINK ,

 

We've recently added a new OnScan property that works similar to the OnSelect in other controls, this allows you to set a behaviour after a scan is successful.

joanneleung
Level: Powered On

Re: Barcodescanner onselect / reset

I am facing a problem when previously scan a bar code and the result displayed in the input box without problem. But when scan a second barcode, the barcode scanner will return the previous barcode result to the input box. Is there any method to reset the barcode after first scan?

Highlighted
Power Apps Staff mobaky
Power Apps Staff

Re: Barcodescanner onselect / reset

@joanneleung to answer your question, we've recently added support for reseting the control using the Reset function. Reset(BarcodeScanner1)

 

I am however interested to know how your control is setup and what makes the second value not update the input box? Does the BarcodeScanner1.Value not get updated when the second value is scanned?

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,969)