cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Displaying one column in combobox, but collecting another

Question, seems like this should be an easy thing to do but I cannot seem to find an answer or make it work myself. So maybe it is not a feature yet, but thought I would ask here.

 

Have a sharepoint list with various people and results of their evaluations in it.

Using a combo box to select that person and reload their info.

As of now, if their are two identical name records the lookup will return the first one, instead of the one you choose.

Is there a way to make the combo box DISPLAY the title field for people to select, and maybe even something more identifiable like the Title Field && " " && Date Field. And when they select it instead of returning that, return the selected records ID Column?

 

SP List has a column at the end of it that stores the items chosen for each transaction.

ComboBox below my name selector Combobox (this is just for testing to make it work, will be more complicated layout once I figure out the logistics of how to make it work.) displays the items sold for that transaction.

If I have an employee with 2 transactions selecting their second instance in the combo box still returns results of first transaction, below is the code returning these for me.

 

DefaultSelectedItems  =  LookUp(SalesEvalSave,Title=ComboBox1.Selected.Title,FIRSTPRODUCTS)

First instinct was to change .title above to .ID but that returns invalid argument since the select name combobox is only keeping the titel as a result.

 

 

See below on right hand side for my name select comboboximage.png

 

Thank you in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper V
Helper V

Re: Displaying one column in combobox, but collecting another

Nevermind it was a STUPID mistake I was making.

In case anyone else has this issue, be sure you set the items to the sp list name only, not splistname.column

View solution in original post

1 REPLY 1
Highlighted
Helper V
Helper V

Re: Displaying one column in combobox, but collecting another

Nevermind it was a STUPID mistake I was making.

In case anyone else has this issue, be sure you set the items to the sp list name only, not splistname.column

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,159)