check box in a combobox

Shankar14

New member
Local time
Today, 06:36
Joined
Apr 6, 2022
Messages
7
How do I put a check box in a combobox so that I can select multiple options from a combobox.
 
Not easily.

Use a multi-select Listbox instead.
 
you can't, you have to use a special type of field called a multi-select combo. However they are not recommended because to make them work requires the creation of a hidden many to many join table.

But if you want to go that route, open your table in design view, select your field and click on the lookup tab. Select Combo as the display control, populate the rowsource with whatever you are using and change the allow multiple values property to yes.

As Minty suggests, use a multi select listbox, or take a look at this multi select form example
 
As already mentioned, combos with checkboxes are possible but only if you use a multivalued field
These are best avoided for many reasons. See my article:
 
How do I put a check box in a combobox so that I can select multiple options from a combobox.
Multi-value combo boxes are bad juju. Avoid them. List boxes are not. Use them instead.
 
I agree with the others, Multi-value fields are bad juju. However, you can use unbound listboxes that allow multiple items to be selected to use as a filter or criteria for a query. Here's an example

 

Users who are viewing this thread

Back
Top Bottom