CENTER Clause
Clauses
5–34
058057 Tandem Computers Incorporated
CENTER Clause
The CENTER clause centers an object within its context. The syntax of the CENTER
clause is:
{
}
target-item
by-item
CENTER‚
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.
Centering Single
Report Items
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.
Centering All Report Items
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.
Centering a Print List
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.
Summary of Contents for ENFORM 058057
Page 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Page 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Page 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Page 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...