Language:


Single- and Multi-Page Forms

This page describes designing Form Templates to cater for the printing of multi-page documents.

---

When you design a Form Template, you should consider what is to happen when the printing of a document requires more than one page. Two options are available:

  1. The "simple" option, where the same page design is used for each page.

  2. The "multi-page" option allows the use of up to four page designs, as follows:
    First
    The first page of a multi-page document.

    Middle
    The pages between the first and last pages in a multi-page document.

    Last
    The last page of a multi-page document.

    Single
    The sole page of a single-page document.
When you add an object of any kind (i.e. text, line, frame, field, picture or page sum) to a Form Template design, you can use the Exclude From Page check boxes to specify the pages on which the object is to be printed. If you do not tick any of these boxes, the object will be printed on every page. This will be the case when using the "simple" option. If you want the object to be printed on certain pages only, tick one or more of the boxes. For example, if the object is to be printed on all pages except the first, tick the First box. If it is only to be printed on the first page, tick every box except the First box (i.e. it will be excluded from all pages except the first). The text object in the illustration below will be printed on the first page only:

To help with the design process, you can choose to display the objects from a particular page only. To do this, select 'First Only', 'Middle Only', 'Last Only' or 'Single Page Only' as appropriate from the Operations menu. For example, select 'First Only' to view the objects that are to be printed on the first page (i.e. those whose First box has not been ticked). Select 'View All' to see all objects, irrespective of the page on which they are to be printed.

The number of pages printed will vary from record to record, depending on the number of rows that the record has. An Invoice with one Item will be printed on a single page (i.e. using those objects whose Single box is not ticked). An Invoice with 100 Items (i.e. 100 rows) will be printed over several pages. You should specify the maximum number of rows that can be printed on each page by selecting 'Properties' from the Operations menu. This opens the 'Form Template Properties' window, which has four fields under the overall heading of Matrix Rows On:

In the case of the "simple" option, you should enter the same number to each of these four fields. Otherwise, enter different numbers as appropriate. For example, in an Invoice Form Template, First and Single are set to 5, Middle to 6 and Last to 7. Invoices will be printed as follows, depending on the number of rows:

Invoice rowsPagesType of Page
Up to 51Single
5-122First and Last
13-193First, Middle and Last
19-254First, 2 x Middle, Last

If you do not want any matrix rows to be printed on a particular page type, enter "-1" in the rele