Printing Templates

Use

Use node type Template to display a table whose layout and size (number of lines and columns) is determined before the runtime of the application program. For this reason, a template is also called a static table.

To create a template, define a table layout to determine the cell structure for each line. The cells are used to display the contents of the inferior nodes of the template node. This allows you to position text and a graphic side by side (see Displaying Graphics in Templates).

The template node is also suited for label printing.

Integration

You can use system fields or your own fields ? for example, to display the current date ? in table cells (see also Using Parameters in the Form).

To print application data, use the table node. For this node type the number of table lines to be displayed is not known before the form is actually printed (the number depends on the volume of application data selected in the application program).

Prerequisites

You can create a template node only as an inferior node of a window node. If you want to display the template in a particular area of the page, create a secondary window for it. Otherwise, use the main window.

Features

The node type displays a table layout. You can either enter the table layout directly or use the Table Painter to define it.

To set other attributes, use the attributes the node types share.

Activities

To use a template, you must:

  1. Define the table layout.
  2. Display contents in the table cells.