Combobox, Count Entries

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
 
B

Bernie Hunt

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
 

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