I need convert empty or null value to '00/00/00' in report, the column is date type, if I use function Cstr:
IF CSTR({DT_RT _TO_CIVPAY}) = '' THEN
'00/00/00'
ELSE
Cstr({DT_RT _TO_CIVPAY})
It works fine for empty value but the real date comes format like: 3/5/2007 12: 00: 00 AM (example)
If I use Cdate function it comes up ‘Bad date string format’ error
IF CSTR({DT_RT _TO_CIVPAY}) = '' THEN
Cdate('00/00/00')
ELSE
Cdate({DT_RT _TO_CIVPAY})
Is any one having good solution? Thanks!
IF CSTR({DT_RT _TO_CIVPAY}) = '' THEN
'00/00/00'
ELSE
Cstr({DT_RT _TO_CIVPAY})
It works fine for empty value but the real date comes format like: 3/5/2007 12: 00: 00 AM (example)
If I use Cdate function it comes up ‘Bad date string format’ error
IF CSTR({DT_RT _TO_CIVPAY}) = '' THEN
Cdate('00/00/00')
ELSE
Cdate({DT_RT _TO_CIVPAY})
Is any one having good solution? Thanks!