when doing
dialogcontrolset( DH, "bigrv", @dccontents, arr)
I'm suddenly getting error 3053 character string too long (>2048 char)
Now that whole arr array is WAY bigger than 2048 all the time, so I'm thinking it's just one cell.
So I trim the suspect cell to 2048 and sure enough the problem goes away.
QUESTION: is that it? no cell in a reportview can have >2048 chars?
If so, that's OK, I just need to know for sure.
-Kirby
Yes, that is it. I think it is documented somewhere in the documentation, but I can't find it. Maybe it is wishful thinking.
Anyway, the Dialog function is currently receiving some minor tweaks, so perhaps we could expand the limit a bit. Modern systems are equipped with more physical memory, and the WIL string table has expanded since the field limit was initially set.
Thanks Tony.
To be sure, I don't actually need to display that much text in the reportview.
I got in trouble because I was using the same array I used for other data operations to also load the reportview, because I am lazy.
It was easy enough to work around: make a copy of the array, with the problem column clipped off at 2048, then use the copy to load the reportview, then throw the copy away.
If you raise the limit, I request at least 8192, to cover typical varchar columns.