• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 277
  • Last Modified:

Easy Points!!!

Could anybody tell me what the limitations are for the variables in crystal reports version 7?  The ones I am mostly interested in are the maximum limit(length) that a string variable can be, and the maximum value for number and currency values.  
1 Solution
Taken from the Seagate Crystal 7 help.

A string can be at most 254 characters long.

The program allows strings in formulas to be up to 254 characters long. You have entered a string that exceeds that limit. Reduce the length of the string and recheck.

interesting though

just below that

There are too many characters in this string.

Strings in formulas are allowed to be up to 200 characters long. You have entered a string that exceeds that limit. Reduce the length of the string (or break it into 2 or more concatenated strings) and recheck.

As for the numbers and currency variables they are the number should be a double and the currency is the same with rounded decimals.

Just FYI:

In CR7 and 8, the maximum length is actually 255 bytes. So, regular string characters (1 character/byte) will be 255 characters. With UNICODE, it is only half of that siince it uses 2 bytes per character.

Since Seagate Software products support only the IEEE double number format as the largest number type, the limit is 15 digits. i.e. it cannot display numbers more accurately than 15 digits. For CR 7 or above, you can convert numbers to string using the database function in the SQL Expression.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now