Display Clause - HP DDL D40 Reference Manual

Data definition language
Table of Contents

Advertisement

Definition Attributes

DISPLAY Clause

The DISPLAY clause specifies a default format for field or group values listed on an
Enform report.
DDL ignores the DISPLAY clause when generating host-language source code.
DISPLAY {"display-format" | constant-name}
display-format
consists of repeatable edit descriptors, nonrepeatable edit descriptors, and
modifiers, as described in the Enform Plus Reference Manual, under the AS
clause, or in the Guardian Programmer's Guide, in the description of the
formatter.
constant-name
is the name of a constant in the open DDL dictionary. The constant value must be
a valid display-format value.
DISPLAY Clause Guidelines
The following points are guidelines for using the DISPLAY clause:
Display formats are essentially edit masks that control how the Enform product
displays listed values. For example, display formats can insert characters and
suppress leading zeros.
A display format specified in a DDL DISPLAY clause can be overridden by an
Enform AS clause.
DISPLAY Clause Examples
The description of the AS Clause in the Enform Plus Reference Manual contains
examples of all types of display formats.
The examples in
edit descriptor.
Data Definition Language (DDL) Reference Manual—426798-002
Table 6-2
on page 6-5 illustrate a commonly used format, the mask
6 -4
DISPLAY Clause

Advertisement

Table of Contents
loading

Table of Contents