Examples

This first example builds a simple date entry control.

DISPLAY DATE-ENTRY, VALUE date-val-1.

Since no size or format information is provided, the control will be one line high and eight characters wide, and show the date in the default SHORT-DATE format.

Here is the equivalent Screen Section entry, with the addition of the LONG-DATE style:

03 DATE-ENTRY, LONG-DATE, VALUE DATE-VAL-1.