Using the Group style

The Group presentation style provides an easy way to create grouped DataWindow objects, where the rows are divided into groups, each of which can have statistics calculated for it. Using this style generates a tabular DataWindow object that has grouping properties defined.

This Group style report groups by department and lists employees and salaries. It also includes a subtotal and a grand total for the salary column:

Shown is an example of the Group presentation style. It’s an Employee Report that lists Department I D, Employee I D, First Name, Last Name, and Salary. There is a subtotal by department and a grand total at the bottom of the report.

For more about the Group presentation style, see Chapter 23, “Filtering, Sorting, and Grouping Rows.”