Enform Plus Reference Manual

Clauses
Enform Plus Reference Manual422684-001
5-45
NOHEAD Clause
NOHEAD Clause
The NOHEAD clause allows you to specify suppression of the printing of the column
heading of a target-item or by-item. The syntax of the NOHEAD 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.
No Headings for Single Report Items
The NOHEAD clause following a LIST target-item suppresses the column heading
for the target-item.
Sometimes it is undesirable to print a column heading for an item, such as when you
want to print more than one target-item under the same column heading. In the
following example, the address, city, and state are all printed in the same column:
LIST suppnum,
address / TAB 10,
city NOHEAD / TAB 10,
state NOHEAD;
SUPPNUM ADDRESS
------- ----------------------
1 19333 VALLCO PARKWAY
CUPERTINO
CALIFORNIA
2 2000 BAKER STREET
IRVINE
CALIFORNIA
No Headings for All Report Items
The NOHEAD ALL clause suppresses column headings for all the target-items
specified in a LIST statement. 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 within that statement.
{ { target-item } NOHEAD }
{ { by-item } }
{ }
{ NOHEAD ALL }