Adding "ALL" in Combo Box

wraperera

New member
Local time
Today, 00:24
Joined
May 2, 2021
Messages
1
Good-day all,

I am new to Access DB and trying to figure out how to add a "All" button into a combo box where when it clicks it selects all the colors and when its "All" isn't selected it will let me select other options. The issue is when I try to insert "All" in combo box it doesn't actually select all the color, instead it checks the all button but nothing more than that.


Any help is much much appreciated.

COLOR TABLE.JPG


color drop.png

Color Code.jpg
 
Hi. Welcome to AWF!

Since you are using a multi value field (MVF), you will need some code to get what you want.
 
Regarding multivalue fields. There is an excellent video by:- Takeshi K here:-

Access2010 MultiValued ComboBox​


Not sure it covers what you want, but it is pretty comprehensive I recall.
 
There's some excellent links about multi value Fields on my website here:-


One of the links points to a previous post where I note that MapJ posted some code examples (which I haven't looked at myself) but may well be worth investigating.

See this thread here:-
 
By the way, one of the links for multivalue Fields is to one of our members, Colin (Isladog) excellent blog on why you should not use Multi value Fields! See here for more details:-

 

Users who are viewing this thread

Back
Top Bottom