The tutorial describes how to group and sort data in a report.
To access the Group and Sort window, click on the Report Designer toolbar.
Note
Grouping and sorting can be applied to a data-bound report.
The Group and Sort window enables you to apply data sorting and grouping:
1. In the Group and Sort window, click Add a Group and select the data field by which you want to group data.
This creates an empty group header with a corresponding group field and adds it to the Group Field collection.
2. You can assign this group in the Group Field Collection Editor.
3. To open the editor, in the GroupHeader band, click the group header’s smart tag. Then, click More Options in the Group Fields box.
4. In the Group Field Collection Editor dialog that opens, you can do the following:
Once done, click OK.
5. Optional: In the Group and Sort window, set the sorting order for the group - either ascending or descending.
If you have already arranged the group order in the data source and you do not want to sort groups in the report, select None.
6. Select the Show Header and/or Show Footer checkboxes to display an empty header/footer for the group.
7. (for multiple groups) Use Move Up and Move Down to change the order of groups applied.
With the help of the smart tag of the group band, you can customize group settings.
1. In the GroupHeader band, click the group header’s smart tag.
2. In the Group Header Tasks that opens, customize the following options: