|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Recognizing Nulls in FormulasIf you have a formula like this:
and the field is Null ,you get neither result. The only solution is to use the IsNull function as follows:
Do you think maybe you have nulls or null-generating formulas you can't find, and worry they'll bite you some day? At the worst possible time (the day before your performance appraisal, for example)? To see where these are, we have a great tool called Report Analyzer. This is the ultimate documentation and analysis tool for Crystal Reports administrators, server administrators, and others who need to maintain electronic filing systems. Originally developed as a Crystal Reports tool only, with its version 5 release Report Analyzer became a powerful tool for analyzing any data repository. Some key points:
Jason Dove says that formulas
saved as functions on the Report Server do not handle NULLS. This can
make some things just impossible to save in this manner. His comments: Jason Dove is a top Business Intelligence consultant and author who has shared his expertise with some of the most respected businesses in the world. Crystal Reports is his reporting software of choice and the subject of his book "Crystal Reports Formulas Explained" which is the most advanced book on the market. Currently available with a free 70 page Crystal Reports XI tutorial: http://www.scry-business-intelligence.com/products/bookoffer.php
And since we're talking about formulas, here's some info on the Formula Workshop. The Formula Workshop makes formula development easier. In Crystal Reports 9.0, all formulas are managed in the Formula Workshop. This is where you create and edit your calculations--including Record and Group Selection, SQL expressions, and conditional formatting of sections and fields. One major improvement in version 9 is the ability to process string fields that are longer than 254 characters. The new limit is 64,000 characters in length. In a similar way, Memo fields can now be processed in formulas. There are some new functions available in version 9.0 including ProperCase, and formatting numbers in Roman numerals. (So perhaps we should refer to Crystal Reports IX). Another useful function is DrillDownGroup Level which we see adding a whole new level of improved presentation to Drill Down Reports. If you know what level of Drilldown is currently being displayed, then conditional formulas and formatting can be used to change the appearance of the report.
This article is copyrighted by Crystalkeen, Mindconnection, and Chelsea Technologies Ltd. It may be freely copied and distributed as long as the original copyright is displayed and no modifications are made to this material. Extracts are permitted. The names Crystal Reports and Seagate Info are trademarks owned by Business Objects. |