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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String Datatype Limitation

Status
Not open for further replies.

nateshk

Programmer
Jan 16, 2001
49
HK
Hi All,

I am using parameter field in my Report which is defined to be of String datatype.The report is created in ver 9.0

from my VB code iam pasing value which can be 4000 charc long. But the progran crashes.

is there any way i can overcome this limitation. is this limitation of string datatype size ?

Thanx

Natesh.
 
Change the data type to memo, which has a 64,000 character limitation in v9. I believe the limitation for a string is 255. Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
dgilsdorf@trianglepartners.com
 
Hi dgillz ,

is the memo datatype available in report ver 9.0 ?

i tried creating a parameter field and memo datatype is not available in the drop down for datatype.

can u further elaborate, how do i do it ?

Regards

Natesh
 
I do not believe that a paramter can be a memo field. Are you passing a 4,000 character parameter or a 4,000 character database field? Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
dgilsdorf@trianglepartners.com
 
Can't say as I know the length limit for a parm in CR 9, but 4000 is likely out of bounds.

Try breaking it up into multiple parameters, you can alsways place them into a text object in the report if you need to view them as a contiguous field, and you can evaluate against multiple parms.

It's very unusual for someone to need a 4K parm.

-k kai@informeddatadecisions.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top