G
Guest
I am populating a multi-columned list box from a query that produces
(currently) 56 rows with a total string length of 2,813 characters. I keep
getting "The setting for this property is too long" when I execute the form.
When I limit the number of entries to under 38 (string length of 1800), it
works fine. I tried to split the query and append the box, but get the same
error. Code is:
Do While Not rec.EOF
strValue = rec("Name") & ";" & rec("City") & ";" & rec("Phone") & ";"
rec.MoveNext
Loop
lstVendorNames.RowSourceType = "Value List"
lstVendorNames.RowSource = strValues
How do you overcome this length problem?
(currently) 56 rows with a total string length of 2,813 characters. I keep
getting "The setting for this property is too long" when I execute the form.
When I limit the number of entries to under 38 (string length of 1800), it
works fine. I tried to split the query and append the box, but get the same
error. Code is:
Do While Not rec.EOF
strValue = rec("Name") & ";" & rec("City") & ";" & rec("Phone") & ";"
rec.MoveNext
Loop
lstVendorNames.RowSourceType = "Value List"
lstVendorNames.RowSource = strValues
How do you overcome this length problem?