Runtime error '2176' listbox.rowsource too long

Y

Your name

I am getting a "Runtime error '2176'". The setting for this property is
too long. When I clcik on the "Debug" button - it takes me to the line
where I set the listbox.rowsource property equal to my query.


The query returns ~ 500 rows (I can go to the "Query" tab and paste the
query in - it runs fine - NOT a syntax problem). Each row is approx 80
bytes. I am trying to add these 500 rows to a list box. I thought the
limit on number of rows is 32767 in a listbox.

Is this 32767 the total number of bytes in the list box? Since 500 rows *
80 bytes / row > 32767 bytes - is this my problem?

Any suggestions? Use another control?

Thanks,
Ray
 
D

Duane Hookom

Do you mind telling us the Row Source Type? Are you using a value list? If
your type is a query or table, you should not have any issues.
 

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