• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

VB combobox max listcount problem.

Albela

Member
Can someone tell me how to populate huge number of items in a combobox. What is the limit. I am trying to put in a mere 7000 rows and getting an error 2176 - Value for property too long.

Thanks.
 
It's not the number of rows that's the problem. It's the data length of one of the rows that is giving you the error I believe.

EDIT: a combobox can support up to 65535 rows FYI.
 
a combobox can support way more than 7000 items. i haven't used VB in so long but i do remember that. look elsewhere for your error
 
Could this be beacuse I am using the value list option for the combobox.row source type ?

The data is just 50 chars in length and everything seems good on that part.

 
What kind of data are you putting in? Maybe there is a better solution...like tkdkid said, it would be hard to use i would think
 
I am trying to put in all possible "Skills" into the combo box. User would have to select whatever he has.

Right now we have combobox that is linked to column in the table holding those values directly (MSAccess). I am trying to use ADO and populate the values from the table using the "Value/List" option for the recordsource property.
 
Back
Top