Grouping conditions

To create a grouped report, you need to define the criteria by which records can be grouped. This condition is used to divide the data rows into appropriate groups and is set using the Condition property of the group header band.

 important:A condition must be defined for every group. Otherwise grouping will not occur in the rendered report.

For example, if you create a report that generates a list of companies, you can group the results alphabetically by the first letter of the company name. As in the example below, companies with names starting with A are included in the first group, and companies with names starting with B are included in the second group.

The grouping criteria used can have any valid value. For example, if you want to group companies according to their location, you can set a condition to group by the database column that contains the required location data.