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!

Field Length: Crystal seems to truncate my varchar fields from SQL

Status
Not open for further replies.
May 15, 2002
3
US
Crystal 7.0 only displays 255 characters of my varchar field from SQL. I can store up to 8000 characters in my varchar field, but can't display...would use a text data type, but Crystal won't allow me to use text in a formula.

Is there a setting or option that I'm missing??

Thanks,
Bryan
 
Crystal won't let you use an Oracle field over 255 in a formula either.

It sounds like the field has been truncated to 255 chars, I do this with long fields in Stored Procedures and Views to allow for reading them (use multiple fields).

So the answer is that you need to do this on the server side, create a view or a stored procedure to allow for these looooong datatypes.

-k kai@informeddatadecisions.com
 
Check out the Long String fields post in the Fromulas section, it covers this.

I learned myself how to truncate these from within Crystal, though I do so on the database, but it's good to know.

-k kai@informeddatadecisions.com
 
synapsevampire

Could you provide me what post you were speaking of in the Crystal Formulas section, I haven't been able to find it.

thanks
 
I was able to use a memo field overlayed on a string field, using a formula to format I suppressed the string field when my memo field wasn't blank.

I tried all different variations, don't think crystal can display over 255 characters in any field other than a Memo field.


Thanks for your suggestions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top