Do you really mean you want to "select" the associated record in a drop-down (combo-box) when you enter the employee ID in a text box? But yes, you definitely need to provide more information to get a good answer.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
I have a drop down list ID, Firstname, Lastname. When the drop list show I want to search by firstname and when I press enter then it grabs the ID and saves this to the field.
like.
1111 Ana Jones
2222 Joe Pitzer
3333 Richard Mates
on the drop down I want to type joe and the field store 2222.
A drop down list is a ComboBox in Access forms by definition. Make sure you're using the correct terminology also to get the best response. You could theoretically be speaking of a list box or maybe something else.
When you build a combo box, you can tell it what to show and what to store and where to store it. It stores one value even if it shows multiple. So if the ID is the first field in the query building the list, then it's storing that. If the name is the first field, it's storing that unless you specify otherwise.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.