Hi to all,
I am having a date that I wanted to keep with the subitems. Unfortunalely when I leave the subitems in the dictionary, when reopening the case, it comes with a default value eventhough the subitems are filled.
My logic on the date field is
Preproc
if visualvalue($) = notappl then
$ = sysdate("YYYYMMDD");
endif;
The capture type is Date with the same format.
I was forced to drop the subitems and compute them when necessary.
What can I do to keep my subitems?
I am using CSPro 7.4 (When using 7.1, I never faced this issue)
Date with subitems
Re: Date with subitems
Make sure that the date item has zero fill set to yes in the dictionary. Without zero fill then you could have a date like 2020 718 which is not a valid number even the three month/day/year subitems are all valid. With zero fill you would have 20200718 which is a valid number.
Re: Date with subitems
Thank you,
It was not having zerofill yes
It was not having zerofill yes