How popualate text box with one combo-box selection or more

I have a table setup like:  ID, Code, Description

Then I have a combo-box that when the user selects a record, a text box is populated with the Description from the table and the ID is stored in the form's record source.  But then we want to allow the user to select ANOTHER record in the combo box and have that record's description added to the end of the previous one.  And then have that ID field added on to the stored first ID field.  I guess then the stored value in the record source has to be text, right?

Can this even be done?

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.

Jeffrey CoachmanMIS LiasonCommented:
I guess then the stored value in the record source has to be text, right?
No, it can be numeric as well

Can this even be done?
Sure, use a multi select listbox and code like what can be found here, to build the entire string(s)...

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
Jeffrey CoachmanMIS LiasonCommented:
..Not sure how (or if) you can reference another column but the first, you can use dlookup to build the name string...
Something like this:
strName = strName & ", " & DLookup("CustName", "tblCustomers", "CustID=" & lstCustomers.ItemData(varItem))

Open in new window

I guess then the stored value in the record source has to be text, right?
Yes it does. When you concatenate two IDs, you have to have a separator.  Otherwise, how would you know when one ends and the other begins?  So 123 & "," & 456 is a string - 123,456

What are you trying to accomplish?  Generally, mushing multiple pieces of data into blobs results in useless strings.
SteveL13Author Commented:
I decided to go with a multi select listbox.
Jeffrey CoachmanMIS LiasonCommented:
Glad I could help...
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.