cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dmac73
Frequent Visitor

Add items to dropdown from form load and or Barcode Scan

I have created a one screen tablet app that pulls data into a dropdown from a list when the app is opened. I also want them to use a barcode scan to select an item in that same dropdown.

 

Form loads: dropdown populated from a field in a SP list

Then the user wants to scan a barcode to search the SP list and then the dropdown is changed to that scan.

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @dmac73 ,

 

What the column type of the field in this dropdown control? I assume that it is a number column. And you have set the Items property of this dropdown control to:

Distinct(ListName,NumberFieldName)

 

Then please set below formula in the Default property to:

Lookup(ListName,NumberFieldName=BarcodeScanner1.Value,NumberFieldName)

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-monli-msft
Community Support
Community Support

Hi @dmac73 ,

 

What the column type of the field in this dropdown control? I assume that it is a number column. And you have set the Items property of this dropdown control to:

Distinct(ListName,NumberFieldName)

 

Then please set below formula in the Default property to:

Lookup(ListName,NumberFieldName=BarcodeScanner1.Value,NumberFieldName)

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,481)