MultiSelect in ListBox

H

Howard

Hi there

I'll be most grateful for some help on how to make
Multiple Selections from a ListBox, really work.

I have a ListBox where I've set the MultiSelect property
to Extended. However, when I make multiple selections
(pressing CTRL and making the selections one at a time,
rather than using SHIFT), only some of the items selected
are acted upon - other selected items deselect themselves
and, are not acted upon.

What can I do to make the ListBox be more efficient?

Thanks
H
 
H

Henry

Multiselect list boxes require some extra code to extract
the information from a MSList box that the user selected.
Basically you have to loop through the list box entries
to determin which entries were selected. There are some
good examples in Access Help about list boxes.
What code are you using?
Please post the code you are using so we can provide more
help.

Cheers,
Henry
 
H

howard

Thank you for your response, Henry. Please, find below the
code in question.

For Each varLOCATION In lstLOCATION1.ItemsSelected
For Each varTIME In lstTIME1.ItemsSelected
For Each varCURRENCY In lstCURRENCY1.ItemsSelected
'Call procedure using ItemsSelected
Next varCURRENCY
Next varTIME
Next varLOCATION
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top