How to determine whether or not a listbox has items selected...?

Ecron

Registered User.
Local time
Today, 15:25
Joined
Aug 31, 2006
Messages
58
Hello.

As my title states, that is my problem! I'm building search criteria from a form and have multiple list boxes... I want to be able to determine whether or not a list box has items selected or not. I have tried as many things as i knew how to with no luck...

Also, i searched the forum but could not find what i was looking for -_-

Thanks for any and all aide!
 
Use

Code:
If Me.YourListBoxName.ItemsSelected.Count > 0 Then
 
holy moley!

thanks a lot.

I was attemping to do stuff like "Not isNull(lstBox.ItemsSelected) Then"

Thanks for the quick reply!

you're my hero!:D
 

Users who are viewing this thread

Back
Top Bottom