Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Cannot Get ListBox .ItemsSelected, help!

$
0
0
Help.

i am unable to retrieve .ItemsSelected of a multiselect listbox on a form.


1. the form is visible
2. i manually select some items in the listbox.
3. then in VBA i get the .ItemsSelected.Count property of the listbox.
4. ItemsSelected.Count returns 0. This is a bug?
5. i can clearly see items selected in the listbox.


What's the problem?

More info:
i am loading several forms in Hidden mode.
then i make only one form visible at a time by VBA.

if i open this one form by itself, with no other forms loaded, then i am able to retrieve .ItemsSelected.Count value correctly.

also posted to:
Cannot Get ListBox .ItemsSelected, help!
Access Help and How-to - Microsoft Office Cannot Get Listbox .itemsselected, Help! - UtterAccess Discussion Forums
Cannot Get ListBox .ItemsSelected, help! - Access World Forums
Cannot Get ListBox .ItemsSelected, help!

Viewing all articles
Browse latest Browse all 13329

Trending Articles