Center Clause; Centering Single Report Items; Centering All Report Items; Centering A Print List - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Clauses

CENTER Clause

CENTER Clause
Centering Single
Report Items

Centering All Report Items

Centering a Print List

5–34
The CENTER clause centers an object within its context. The syntax of the CENTER
clause is:
target-item
{
}
by-item
CENTER ALL‚
target-item
is a record name, a field name, a string literal, a predefined aggregate, a user
aggregate, an arithmetic expression, an IF/THEN/ELSE expression, a user
variable, or a System Variable clause.
by-item
is the name of a field grouped by a BY or BY DESC clause.
The CENTER clause causes a target-item or by-item to be centered under its column
heading. Numeric data is normally right-justified; alphabetic data is normally left-
justified. Target-items and by-items are centered based on the width for which they are
formatted, not their actual values. If the space divides unevenly, ENFORM places the
extra space to the right of the item.
The CENTER ALL clause causes all elements in a LIST statement to be centered under
their headings. It must follow the WHERE clause in the LIST statement. Refer to the
syntax of the LIST statement in Section 4 for the relative locations of the clauses within
a LIST statement.
The CENTER clause following the print list of an AT END statement or clause, an AT
START statement or clause, an AFTER CHANGE clause, a BEFORE CHANGE clause,
A FOOTING statement or clause, a SUBTITLE statement or clause, a SUBFOOTING
statement or clause, or a TITLE statement or clause, centers the print-list information
on the page.
058057 Tandem Computers Incorporated
CENTER‚

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents