I have created a form that allows users to dynamically filter a report through a listbox. The listbox selections are pushed into a SQL string.
This works fine for a limited amount of selections (around 50-60 records). After that, I receive run-time error '2176' ("The setting for this property is too long"
. My assumption is that the SQL string exceeds the limits of the Str property, which I believe is 2,048 characters.
Is there some way to increase the character length of the Str property or can I use some other data type that allows lengthy data strings?
Any help would be greatly appreciated!
This works fine for a limited amount of selections (around 50-60 records). After that, I receive run-time error '2176' ("The setting for this property is too long"
Is there some way to increase the character length of the Str property or can I use some other data type that allows lengthy data strings?
Any help would be greatly appreciated!