6.2.1 Adding Text and Presentation Elements

In this example, you will add a title and page numbering to the report that you created in Creating a Report. Follow the steps below:

1. Press the 'Header' button in the top toolbar to select the header. The insertion point indicator (black triangle) appears at the top left edge of the header.

 

2. Press the 'Text' button in the Toolbox panel. A new text element appears in the header of the report.

3. In the text field, type “Sample Sales Report”. Click outside of the element to finish editing.

 

4. Click on the new text element to select it. Use the controls on the toolbar to change the font to Tahoma 24-point Bold Underline. Then click the 'Center' alignment button to align the Text element on the page.

 

Note: There are four pre-existing header and footer types: default, first page, even page, and odd page.

Page numbers and date/time stamps are created by the report engine when the report is generated. You can add these dynamic elements by placing special tags in the report header or footer.

Follow the steps below to add page-numbering to the report.

1. Press the 'Footer' button in the top toolbar. The insertion point indicator appears at the top left edge of the footer.

 

2. Click the 'Text' element in the Toolbox panel to add a new text element to the footer. In the text field, type “{P} of {N}”.

 

The {P} and {N} tags designate page num­ber and page total, respectively. Other tags are {D} for date, and {T} for time.

3. Click anywhere outside of the footer to deselect it. The footer is now complete.

 

<< 6.2 Adding Report Elements © 1996-2013 InetSoft Technology Corporation (v11.5) 6.2.2 Adding Data Elements >>