Skip to Content
0
Former Member
Mar 10, 2010 at 02:08 PM

Error: String can be at most 65534 characters

119 Views

Hi,

I am using Crystal XI

I have a string variable in my formula that gathers log ids found when report is run. I then use this variable to display records in my subreports. But when I run a report with wider search criteria I get an error - Error: String can be at most 65534 characters.

How can I get rid of this error? Below is my formula

WhilePrintingRecords;

Global StringVar Array_Name;

numbervar slno;

Array_Name:= Array_Name & Cstr({PMP.LOG_ID}, 0) & ",";

if {@TimelyComplete}= 0 then

slno:= slno+ 1;

What would be an alternative solution for this problem?

Thanks for your help!

-Ekta