ActiveReports 8 > ActiveReports User Guide > Samples and Walkthroughs > Walkthroughs > Page Report Walkthroughs > Layout > Overflow Data in a Single Page |
In a fixed page layout, ActiveReports allows you to arrange the OverflowPlaceHolder controls at any location on the same page along with the host data region to build a rich report layout. The following walkthrough demonstrates this by using a Table data region and three OverflowPlaceHolder controls on a single page to create a columnar display.
This walkthrough is split into the following activities:
Note: This topic uses the Movie table in the Reels database. By default, in ActiveReports, the Reels.mdb file is located at [User Documents folder]\ComponentOne Samples\ActiveReports 8\Data\Reels.mdb. |
When you complete this walkthrough you get a layout that looks similar to the following at design time and at runtime.
Notice that the runtime report layout below is similar to the one you see at design time except for the data which you see at runtime or when you preview the report.
To add an ActiveReport to the Visual Studio project
See Adding an ActiveReport to a Project for information on adding different report layouts.
To connect the report to a data source
To add a dataset
SQL Query |
Copy Code
|
---|---|
SELECT * FROM Movie |
To create a layout for the report
Property Name | Property Value |
---|---|
Location | 0in, 0in |
BackgroundColor | DarkCyan |
Font | Normal, Arial, 20pt, Bold |
Size | 6.5in, 0.5in |
TextAlign | Center |
Value | Movie Database |
VerticalAlign | Middle |
Property Name | Property Value | ||
---|---|---|---|
Location | 0.125in, 1in | ||
BackgroundColor | Azure | ||
RepeatHeaderOnNewPage | True | ||
Size | 3in, 0.66in | ||
FixedSize | 3in, 3.5in | ||
OverflowName |
OverflowPlaceHolder1
|
Cell | Field Name |
---|---|
Left | Title |
Center | YearReleased |
Right | UserRating |
Row | Property Name |
---|---|
TableHeader | BackgroundColor: PaleTurquoise BorderStyle: Solid FontSize: 10pt FontWeight: Bold TextAlign: Left |
TableDetail | BorderStyle: Solid TextAlign: Left FontSize: 9pt |
Control Name | Property | ||
---|---|---|---|
OverflowPlaceHolder1 |
Location: 3.375in, 1in OverflowName: OverflowPalceHolder2
|
||
OverflowPlaceHolder2 |
Location: 0.125in, 5in OverflowName: OverflowPlaceHolder3
|
||
OverflowPlaceHolder3 | Location: 3.375in, 5in |
Note: Notice that the OverflowName property is set to link each OverflowPlaceHolder control to the next one. |
To view the Report
OR