ActiveReports 9
Group On Unbound Fields
Show AllShow All
Hide AllHide All

ActiveReports allows you to set up grouping in unbound reports. When setting up grouping, the group header's DataField property is used to retrieve the grouping data from the database in the same manner as a textbox's DataField property. This walkthrough illustrates how to set up grouping in an unbound report.

This walkthrough is split into the following activities:

Note: This walkthrough uses the Northwind database. By default, in ActiveReports, the Northwind.mdb file is located at [User Documents folder]\GrapeCity Samples\ActiveReports 9\Data\NWIND.mdb.

When you complete this walkthrough you get a layout that looks similar to the following at design time and at runtime.

Design Time Layout

Runtime Layout

To add an ActiveReport to the Visual Studio project

To add code to connect the report to a data source

To create a layout for the report

To add fields using the DataInitialize event

To populate the fields using the FetchData event

To add code to close the connection to the data source

To view the report

 

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum