Access Select two matching items in two form drop downs


I have two tables "Invoice Detail' and "Parts" and in the "Invoice Detail" form I want to select a part
from the drop down that I created using a lookup at table level. When the user makes a selection I want the Description
to automatically be selected as well in the Description column. How do I achieve this?


Invoice Detail FormImage2.jpg
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Change the description from a combo box to a text box and set it's enabled property to no.  This is done to prevent accidental updates.  You don't want to be able to change the description for the part on this form.

Change the RecordSource query of the form to join to the part table using a left join.  You can use an inner join ONLY if part is required.  Then select description from the part table and bind it to the description text box.  When you select a part number from the combo, description will automagically update.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
You're welcome
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.