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 / Using barcode scanner ...
Power Apps
Unanswered

Using barcode scanner with a lookup dataverse field

(0) ShareShare
ReportReport
Posted on by 9

Hello,

I'm building an app that is used as a cash bag tracker in my workplace. I've set up some dataverse tables for 'bags', 'bag_movements' and 'bag_locations'.

I've got one screen that logs the bag and the bag_movements table that is transactional and updates when the bag is scanned and changes locations. However, I can't put the concept of this into practice. The serial number field of the bag from the bag table that is related to the serial number field in my bag_movements is set to be a lookup field in dataverse. I'm trying to use this field from the bag_movements table in my form in PowerApps and populate the dropdown by using a barcode scanner. I can get the barcode scanner to work into a standard text/number field, but not a dropdown lookup field.

Any helpers with this please?

Thank you in advance!

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,535 Super User 2026 Season 1 on at

    Hi @sam-L ,

     

    Instead of using the serial number field in the bag_movements table to populate the dropdown, use the serial number field from the bags table.

     

    If this doesn't answer your question, can you please share what you currently have and is not working?

  • sam-L Profile Picture
    9 on at

    Thanks @BCBuizer, I've added the serial number from the bags form and the barcode scanner is populating this fine. However, I need to commit that value to the bag_movements table so that we can see the serial number of the bag that has moved locations. How would I go about using the save button to commit both forms to one table? Or is there a different way that this should be done? Thank you

    samL_0-1669392676329.png

     

  • BCBuizer Profile Picture
    22,535 Super User 2026 Season 1 on at

    Hi @sam-L ,

     

    What is the BagsForm for? Within the context of the "Log a Movement" screen that seems out of place. 

     

    However, if there's a need to submit two forms with the click of a single button, that can be easily accomplished by including both forms in the OnSelect property of the SaveButton:

     

    SubmitForm(BagsForm); SubmitForm(BagMovementsForm);

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard