Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: String can be at most 65534 characters

Status
Not open for further replies.

ekta22

IS-IT--Management
May 3, 2004
359
US
Hi,

Version: Crystal XI

I am using an array to gather log ids. 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

Code:
WhilePrintingRecords;
Global StringVar Array_Name;
numbervar slno;
Array_Name:= Array_Name & Cstr({PMP.LOG_ID}, 0) & ",";
if {@TimelyComplete}= 0 then
slno:= slno+ 1;

Thanks!

-ES
 
Hi,
You are not using an array, you are concatenating a string variable, so it gets too long.


What are you trying to accomplish by creating an array of those values?






[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top