|
|||||||||
|
Crystal Reports Tools: Improve Performance While Saving Time and Money |
|
Crystal Reports: Evaluation TimesTo understand the Evaluation Times feature, you first need to understand how Crystal Reports actually processes a report. It's done in five steps, as follows: Now, to understand hese really expand out into five passes that Crystal Reports makes through your report:
As you can see from the above, formulas are evaluated at one of three different phases in the Crystal Reports processing model.
These formulas can be used to calculate a summary and can be used for record selection. You can change these to WhilePrintingRecords if you want. If your formula includes Running Total Fields, Summary Fields, Print State Functions (like PageNumber) or Shared Variables then it has to be "WhilePrintingRecords". If you want a summary of these formulas you need to use variables. You cannot use these formulas in record selection. You cannot change them to an earlier evaluation time. |
|
The Evaluation Times feature lets you reassign a formula's evaluation time from one phase to a later phase. You can't assign it to an earlier phase. For example, if your formula uses only parameters or constants, you could have that formula evaluated "WhilePrintingRecords". But it is not true that you could go in the other direction. For example, your formula includes Running Total Fields, you cannot have it evaluated "WhileReadingRecords". Generally, there's no reason to use this feature. But it could come in handy if you have timing issues with your network or your database. If you do have those issues, you could use this feature as a temporary fix. Probably, there is a problem that you need to resolve before the whole system comes crashing down. A great tool to help you do that is Report Analyzer for Crystal Reports. Report Analyzer automatically detects and documents potential performance issues in your Crystal Report design settings--including record selection formulas, grouping options, and database options. Now, you can ensure your reports operate at peak performance. No more wasting time trying to guess what the problem is. No more being blithely unaware of a problem, while a user tells your boss all about it.
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.
|