Mastering Business Analysis with Crystal Reports 9 (Wordware Applications Library)

All summary calculations are created in Crystal Reports through the Insert Summary dialog box. Before accessing that tool, let's first create a sample report that you can utilize for the examples within this chapter.

From the xtreme.mdb database, select the Customer and Orders tables. Allow Smart Linking to link these tables, or refer to the ER Model diagram in Appendix A.

Once you're at the Report Design area, add the following fields to the Details section:

Create a group using the Customer Name field. Readjust any sections as necessary.

Once you've done this, select the Design tab. Left-click once on the Order Amount field. Then, select Insert, Summary from the menu bar. The Insert Summary dialog box displays, as shown in Figure 9-1.

Figure 9-1: The Insert Summary dialog box

The Insert Summary dialog box contains the following functionality:

The Insert Summary dialog is where you create all your summary calculations. Now that you're in this dialog box, let's try your first summary calculation: the subtotal.

Категории