Solved

Easy Points!!!

Posted on 2001-07-11
2
264 Views
Last Modified: 2007-11-27
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.  
0
Comment
Question by:halkot
2 Comments
 
LVL 4

Accepted Solution

by:
abaldwin earned 35 total points
ID: 6274503
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.

andy+
0
 
LVL 3

Expert Comment

by:mathavra
ID: 6274839
Just FYI:

STRING:
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.


NUMBER:
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now