Solved

Access 2010 -  How would I select multiple selections from a combo box to a text field?

Posted on 2013-10-24
3
1,727 Views
Last Modified: 2013-10-24
Afternoon,

I am working in Access 2010 and would like to add a combo box to my form, which has the capabiltiy of allowing the user to select multiple items from it.

Screenshot below is what I am trying to achieve in access. This was obtained from Google Images.

multicombobox
I want this combo box to pull values from a column I have in one of my tables.

As the user selects the values of this combo box, I want the information to then be stored in one of the forms fields (seperated by a comma) which is a text field from a column in a "different" table.

Example below once user has selected all the items necessary from the combo box,

selecteditems
Can someone please let me know how I can achieve this?

Do let me know if additional information is needed.

Kind Regards,
N
0
Comment
Question by:nobushi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 39598669
This is called a "Multivalued field"
*However* this feature is not so straightforward to implement and it is commonly mistaken for a simple One-to-may configuration.
It is also difficult to troubleshoot if problems arises.
See here for more info:
http://allenbrowne.com/Access2007.html#Mixed
(It was only ever created to interface with Sharepoint)

Then other side of the story is that the alternative interface may be just as confusing to design if you are new to database design.
Then basic concept of a Multivalues field is to create an interface for a Many-To-many relationship.
So before going any further, you must be absolutely sure this is what you need.
You also must have the tables set up in this configuration, else it will never work correctly.
Here is a basic tutorial:
http://office.blogs.webucator.com/2010/06/29/creating-a-multi-value-field-in-access-2010/
...but you can do a web search of:  Access Multivalued fields
for more info and probably a few youtube videos...
;-)

JeffCoachman
0
 
LVL 1

Author Closing Comment

by:nobushi
ID: 39598771
Thank you Jeff.

Now that I know what I am looking for (since you have provided a definition), I will research this a little more to see if this is really the way I want to go.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39598861
Yes, I have seen member here actually modifying the basic table design to do this, ...only to discover that a simple one to many was all that was needed.

But a simple example is like Students and Classes
Since one student can be in many classes AND one class can have many students.
this is a classic example of a Many-to-Many relationship.
What the Multivalued field does is make it easy for you to select the "many" classes for a student.
OR to have a class and select the "many" students.
*remember this must be the case for both tables*

To wrap up.,.
...On the other hand, the "interface" is great, however the things you need to now about to get it working smoothly is the tricky bit...

;-)

JeffCoachman
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question