Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-46
NOPRINT Clause
NOPRINT Clause
The NOPRINT clause allows you to specify suppression of the printing of a target-
item or by-item and its associated column heading. The syntax of the NOPRINT
clause is:
target-item
is a record name, a field name, a numeric literal, a predefined aggregate, a user
aggregate, an arithmetic expression, an IF/THEN/ELSE expression, a user table
name, a user variable, a System Variable clause or a JULIAN-DATE clause.
by-item
is the name of a field grouped by a BY or BY DESC clause.
Suppress Single Report Items
The NOPRINT clause following a LIST target-item or by-item suppresses the
printing of the target-item or by-item and its heading. The target-item or
by-item can still be used for sorting, grouping, or calculations elsewhere in the report.
You can use the NOPRINT clause to suppress printing of a target-item or by-
item within the body of a report. In the following example, the records are grouped by
region, but the region number is not printed as a by-item in the report. Instead the
region number is printed at the end of the group using a BEFORE CHANGE clause:
LIST BY regnum NOPRINT,
branchnum,
manager,
BEFORE CHANGE ON regnum PRINT "Region " regnum;
BRANCHNUM MANAGER
--------- -------
1 75
2 129
Region 1
Suppress All Report Items
The NOPRINT ALL clause suppresses the printing of all columns and column headings.
It must follow the WHERE clause in the LIST statement. See the syntax of the LIST
statement under LIST Statement on page 4-30 for the relative locations of the clauses
{ { target-item } NOPRINT }
{ { by-item } }
{ }
{ NOPRINT ALL }