Max number of items in Combobox

G

Guest

Hello
There appears to be a maximum limit of 64k items in a combobox list. Is this
correct? And is there a method to override this limit?

I know it is normally a large enough number, but in my application for a
storage warehouse, I am using a combobox to enable selection of a valid
storage box number and there are currently 66233 boxes!
When the user presses Ctrl-End to go the bottom of the list, it displays the
65536th row. It will still allow entry and validation of box numbers beyond
this limit when a valid box number is typed in, but it cannot display these
box numbers.

Any ideas please?

Regards
Richard Corner
 
G

Guest

Brendan

Many thanks for your suggestion.
Unfortunately, my box numbers are not of a fixed number of characters and
not filled with leading zeroes, so I can't use the technique in the article
you referred to.
The article does give me some pointers for which way to go though.

Richard Corner
 
B

Brendan Reynolds

Allen's technique has no such restriction, Richard. I just tested it with a
list of Irish counties and postal areas, which follow no fixed pattern at
all. It works just fine.
 

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