You can adjust report properties in either the Design Window or the Properties Pane. In the Design Window you can edit the selected report by adding design components to report sections. Horizontal and vertical rulers assist you in the design process. In the Properties Pane you can edit the selected report by typing new values directly into the fields or making new selections from the drop-down lists.

 

Note that the sample project Chapter11_Customizing.pnj contains a report called Report1 that you can use to view and customize the report properties outlined in this section. You can access this project by clicking File – Open Project in the application menu, then enabling the Open a sample project option.

 

The following report properties can be customized:

 

Name

The name given to the report.

 

Page Header

The page header setting for the report (show on all pages, do not show on pages with a report header, do not show on pages with a report footer, do not show on pages with a report header or a report footer).

 

Page Footer

The page footer setting for the report (show on all pages, do not show on pages with a report header, do not show on pages with a report footer, do not show on pages with a report header or a report footer).

 

Stock

The paper stock to be used for the report.

 

Orientation

The orientation (either Portrait, Landscape, or Portrait Continuous) of the report. Portrait Continuous orientation is used when the paper length is unknown and needs to be computed based on the length of the generated report.

 

Stock Print

Indicates whether to include printing of the paper stock's background when the report is printed.

 

Layout

The layout setting (Normal or Stacked) for the details and group headers/footers of the report. This property is only applicable if you are printing on ‘labeled’ stock. If you set this field to Normal your details and group headers/footers will be printed left to right, top to bottom. If you set this field to Stacked your details and group headers/footers will be printed top to bottom, left to right.

 

Background

The list of labels available for use as the report background. The label you select will be printed in the background of every page of your report. So, for example, if you wanted to place a small company logo or watermark in the top-left corner of each page of your report, you could simply create a label containing the logo in this position, then select it as the background for your report.

 

Border Thickness

The size of the report border. A border size of 0 produces no border.

 

Border Color

The color of the border surrounding the report. Click the icon_browse_button button to go to the Color Chooser and select a custom color.

 

Fill Style

The fill setting for the report (Opaque or Transparent).

 

Fill Color

The fill color for the report. To show the fill color, ensure Fill Style is set to Opaque. Click the icon_browse_button button to go to the Color Chooser and select a custom color.

 

Description

The description given to the report.

 

On Open

Allows you to insert code for use when the report is opened. Click the icon_browse_button button to go to the Code View and insert your code. For more information, see Event Methods.

 

On Close

Allows you to insert code for use when the report is closed. Click the icon_browse_button button to go to the Code View and insert your code. For more information, see Event Methods.

 

On No Data

Allows you to insert code for use when the report contains no data. Click the icon_browse_button button to go to the Code View and insert your code. For more information, see Event Methods.