Form Clause; Form Clause With A By-Item; Form Clause With A Target-Item - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

FORM Clause

The FORM clause allows you to control when to skip to a new page. The syntax of the
FORM clause is:
FORM [ number ]
number
FORM Clause with
When the FORM clause follows a field name that has been grouped with a BY or BY
a By-item
DESC clause, ENFORM starts a new page whenever the field value changes. If number
is specified, ENFORM starts a new page only if there are fewer than that number of
lines remaining on the current page. The following example shows the use of the

FORM clause with a by-item:

When the FORM clause precedes a target-item, ENFORM starts a new page each time
FORM Clause with a
Target-item
the target-item is printed. When the FORM clause follows a target-item, ENFORM
prints the target-item before starting a new page. The number parameter is not allowed
when the FORM clause modifies a target-item.
FORM Clause within
The FORM clause can be part of a print list for an AFTER CHANGE, AT START
a Print List
PRINT, AT END PRINT, BEFORE CHANGE, FOOTING, SUBFOOTING, SUBTITLE,
or TITLE clause or statement. ENFORM starts printing on a new page everytime the
FORM clause is processed. When used with a print list, the FORM clause does not use
the number parameter.
058057 Tandem Computers Incorporated
is an unsigned integer.
BY regnum FORM,
Clauses
FORM Clause
5–39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents