SET DATE
The SET DATE statement places the current date/time in the destination field.
••••• SET DATE ••• ••••••••••••••••••••••
•••
(1)
(2) (3) (4)
(4) Destination occurrence (constant/index) |
Note that to set a date/time field to a constant value, you use the SET command.
The destination field must be a date/time field type.
In the example below, the current date is supplied for the user if a date is blank.
*
* If
blank, set adjustment date to system date
*
IF TAR
ADJUST2 ADJ DATE EQ
T SET DATE TAR ADJUST2
ADJ DATE