Glossary Item Box

Getting Started | Report Structure | Grouping Data Walkthroughs

See Also ActiveReports for .NET 2 Online Help Send feedback to Data Dynamics

Grouping Data

In ActiveReports, a report can consist of single or multiple nested groups, with each group having its own header and footer sections. The header section is inserted and printed immediately before the Detail section. The footer section is inserted and printed immediately after the Detail section. Up to 32 nested groups are allowed in a single report.

Note: ActiveReports does not order records for grouping. It assumes the data is already sorted in the same grouping order. The data source needs to be ordered by the field on which you want your data grouped to achieve the desired results.

Grouping Data in a Report

To group data in a report

  1. Right-click in the Detail section of the report design surface, select Insert, and click on Group Header/Footer.
  2. This will insert a new group header/footer section into your report.
  3. In the Properties window for the group header, change the DataField property to the field on which you want your data grouped.
  4. Change the name of the group header to reflect the field on which data is being grouped.  For example, "ghCategories" would be the name of the group header field with the DataField property of "CategoryID".

Getting Started | Report Structure | Grouping Data Walkthroughs

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.