Crystal Reports for Eclipse Developer Guide

Summarizing data

You can use summaries to do a variety of calculations on a field. For example, use a summary to find the maximum value of a field or to calculate the sum of all occurrences of a field.
You can calculate a summary for a group or for the entire report. For example, if you have a sales report that is grouped by region, you can use a summary field to calculate the average sales for each region, or you can use a summary field to calculate the average sales for the entire report.
The SummaryOperation class defines they type of summary to be calculated. The type of summary that can be calculated on a field depends on the type of field. For example, you can calculate the maximum value for a String field, but the standardDeviation and covariance summary types can only be calculated for numeric fields. You can run the canSummarizeOn method to test whether a calculation can be done on a particular field.
Some summary types require a parameter. For example, the nthLargest summary type requires the integer parameter n. Other summary types compare two fields and require a second summarized field. For example, the correlation summary type calculates the correlation between two summarized fields.
For more information about summary types, see the Crystal Reports for Eclipse Designer Guide.



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/