Re: Picking current date but changing when viewing the case
Posted: June 16th, 2017, 2:16 pm
For numeric items you can check for blank by comparing to notappl. If you are in system controlled mode you need to use visualvalue since you are in preproc so the field has not been completed yet.
PROC DATE
preproc
if visualvalue($) = notappl then
$=edit("99/99/99",sysdate("DDMMYY"));
endif;
preproc
if visualvalue($) = notappl then
$=edit("99/99/99",sysdate("DDMMYY"));
endif;