Combobox, Count Entries

  • Thread starter Thread starter Bernie Hunt
  • Start date Start date
B

Bernie Hunt

I have a combo box on a form. It's entries are loaded from a database. Once
the box is loaded, is there a way to ask it how many items it has?

Or should I just count the number of items added and I'm adding them?

The application is two comboboxes used by the user to select min and max
search criteria. By default the first will be preset to the lowest item and
the other will be preset to the last item in the list. Both boxes will be
loaded with the same list of items.

Thanks for any ideas,

Bernie
 
Have you tried querying ComboBox.Items.Count ?

Argh!!!!!!!!!!!!!

I couldn't find that in the docs, so I didn't bother looking in the IDE to
see if it would work. Works fine, sorry for the stupid question!

Bernie
 
Back
Top