I'm having trouble clearing the selections in a multiselect box. Setting the control null does nothing and I've had no luck figuring out some code on my own. Anyone able to give me a hand?
I've been trying Me.ListBoxName = "" with no luck. I just want to clear any selections the user has made and am pulling my hair out right now!
Joe, you are using an extended list box, if I change my list to extended this works too but I need to use a simple list box. When a simple list box is used this doesnt work!
I need the simple list as they need to be able to select non contigous entries ( or am I wrong and they can do this in extended?)
For anyone reading this thread- it does work well with an extended list box.
BTW, you CAN select non-contiguous in extended listboxes, the difference is that the user has to use modifier keys (SHIFT, CTRL) like they do in other windows apps, like explorer. CTRL+Click allows you to select any values (like the simple), and Click an item then SHIFT+Click selects all items between. I usually use the extendeds, because most of my users are familiar with the conventions.
How do I check for a specific value in a multiselect listbox? I have a multiselect listbox. I would like to "clear" the listbox if the user selects "None". "None" is included in the listbox record source.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.