Creating a Running Total

Previous Topic: Running Totals Overview

To create a running total in Crystal Reports:

  1. From the Design View page, right-click Running Total Fields and select New from the pop-up menu. The Create Running Total Field dialog box appears.

  1. Type a name for the running total field in the Running Total Name field.

  2. Select the field you want to total from the Available Tables and Fields list box.

  3. Click . The field will appear in the Field to summarize field.

  4. Select the type of running total you want to produce from the Type of summary drop-down list. Your options will vary depending on the field you chose to summarize.

  5. In the Evaluate section of the dialog box, click the appropriate option button. Your options are:

  6. In the Reset section of the dialog box, click the appropriate option button.

  7. Click OK to save the running total field. The program returns you to the Field Explorer dialog box.

  8. Insert the running total field in the Details section of the report.

Note!

Note:
A running total field can be used on database fields and first-pass formulas, but cannot be used on second-pass formulas or formulas that reference other second-pass formulas.

The following list identifies the records that are included in the calculation when a running total is placed in the specified report sections. This list assumes the running total is not reset.

Next Topic: Data Sources Overview

Back to Reports Table of Contents

Did you find this topic useful? Yes
No
I don't know
Why?