PICTURE SUBSTATEMENT IN FORM LAYOUTS

The PICTURE substatement of the FIELD statement describes the format of an integer or numeric data item when it is displayed.  If this substatement is omitted, free format is used to display the field's value.  This substatement is ignored for character and date fields.

SYNTAX

/[PICTURE picture_format]

picture_format

specifies the integer or numeric output format.  The format must be enclosed in quotation marks.  See the ACCENT R Reference Manual for detailed specification of picture formats.

EXAMPLE

/PICTURE "$,$$$.DD"

This example describes the picture format for a numeric field.  When the data of the field is displayed in the form, it has a floating dollar sign with 2 digits following the decimal point.  The format is continuously maintained as each digit is entered.

Back to Exit Substatement    Next page Date Format Substatement