Glossary Item Box
ActiveReports supports newspaper column layouts in both the Detail and Group sections. You can render the columns either horizontally or vertically in the section with options to break the column on the Group section (i.e. start a new column on the change of a group). There is also a Boolean ColumnGroupKeepTogether property on the GroupHeader. When set to True, ColumnGroupKeepTogether attempts to prevent a group from splitting across columns. If a group cannot fit in the current column, it tries the next. If the group is too large for a single column, the property is ignored.
Note: The ColumnGroupKeepTogether property is only implemented when the GroupHeader's GroupKeepTogether property is set to All. This walkthrough illustrates how to create a simple report using columns.
The walkthrough is split up into the following activities:
To complete the walkthrough, you must have access to the NorthWind database (Nwind.mdb).
When you have finished this walkthrough, you will have a report that looks similar to the following.
To add an ActiveReport to your project
To connect the data source to a database
To add controls to the report
Control | DataField | Name | Text/Caption | Location |
---|---|---|---|---|
TextBox | Country | txtCountry | Country | 0, 0 |
Control | DataField | Name | Text/Caption | Location |
---|---|---|---|---|
Label | (Empty string) |
lblPhone |
Customer Telephone List by Country | 0, 0 |
Control | DataField | Name | Text/Caption | Location |
---|---|---|---|---|
TextBox | CompanyName | txtCompanyName | Company Name | 0, 0 |
TextBox | ContactName | txtContactName | Contact Name | 1.188, 0 |
TextBox | Phone | txtPhone | Telephone Number | 2.25, 0 |
To view the report
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.