The Grouping feature of ActiveReports allows to group the data (keep them together) in a report. All you need is to set the Group Header section's DataField property to the field on which you want to group the report. When you run the report, it renders the group header, followed by all the related instances of detail section, and then the group footer (considering non-multiple grouping scenario). You can set one or more than one nested groups in a report, known as multiple grouping. You can find more information about this in Grouping Data topic in our documentation site. There is a scenario where the content within the group is spanned over multiple pages; and end user needs some indication about this. It is similar to have a label with text like 'continued...', to show that the group data is continued on to the next page. Attached image shows how a report looks like after the implementation:
The implementation of this feature is very simple and has been explained in points below:
SummaryFunc:- Count SummaryGroup:- GroupHeader Name SummaryRunning:- Group SummaryType:- PageCount
I have attached the sample applications to showcase the complete implementation. In the attached samples, location of the Nwind database is set to C:\Nwind.mdb. Modify the connection string to reflect the location of the Nwind in your machine. ContinueOnGroup_C# ContinueOnGroup_VB.NET