Solved

Easy Points!!!

Posted on 2001-07-11
2
263 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
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 video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

11 Experts available now in Live!

Get 1:1 Help Now