Dear all,
I'm seeing something strange with the .Count property of a multiselect list
box in Access 2000. When I first open the form and use the following
statement:
If Me.lstQuoteComponent.ItemsSelected.Count = 0 Then
This property always evaluates to 0 no matter how many items are actually
selected. If I run the code through again, it correctly shows the number of
items selected.
CK
John Nurick - 09 Aug 2005 07:55 GMT
Hi Chris,
You say "when I first open the form". Could it be that the code is
running before the listbox has finished loading or before the items have
been selected?
>Dear all,
>
[quoted text clipped - 9 lines]
>
>CK
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.