Page Protection for Tables

Use

Tables with application data are usually displayed in the main window because the number of lines to be output depends on the amount of data to be transferred. If there is not enough room in the main window, the output is continued on the next page. The automatic page break in the default setting does not take into account whether the current table line has already been output completely or not. A table line that is output over several lines may therefore be on two pages.

Data protection for table lines prevents this from happening. You can also protect several table lines against automatic page break, which is particularly beneficial for the output of multiline tables.

The columns of multiline tables are output on several lines.

Prerequisites

You have created a table in the Form Builder and defined your line types.

Features

In the case of tables, there are two options for protection against line break:

  • You can protect a line type against page break
  • You can protect several table lines against page break for output in the main area

Activities

Protection against page break for line types

  1. Double-click on your table node and choose the Table tab page.
  2. Switch to the detail view by choosing the Details pushbutton.
  3. Set the Protection against page break checkbox in the table for the relevant line type.

Table lines that use this line type are output on one page.

Protection against page break for several table lines

  1. Expand the main area of your table node in the navigation tree.
  2. Insert a file node for the table lines to be protected in the main area.
  3. If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file.
  4. Choose the Output Options tab page of the file node and set the Page Protection option.

All table lines that are in the file with the Page Protection option set are output on one page.