Creating a summary

To create a summary in a catalog, follow the steps below:

  1. In JReport Designer, open the required catalog, then in the Catalog Browser, expand the data source in which you want to create the summary.
  2. Right-click the Summaries node and click Add Summary on the shortcut menu. The New Summary dialog displays. See the dialog.
  3. Select <Create> in the Summaries drop-down list.
  4. Select a function from the Function drop-down list for your field to be summed by.
  5. Select a field for the summary to compute from the Resource box, then click next to Summary On.
  6. If required, specify to which group the summary will be applied.
  7. Click the Apply button to add the new summary to the catalog. The Summary Name dialog will then be displayed, asking you to name the summary. Enter a name as required, and then click OK.
  8. Click the OK button in the New Summary dialog to close the dialog.

See also New Summary dialog for details about options in the dialog.