Hiding empty dates in a FastReport-based report

Instead of empty dates, ELMA shows 01.01.0001

Example of empty dates in a report:

You can replace this value in the report with an empty one.

On the layout, in the field where the data is displayed, use the condition:

[IIf(Year([Data.DueDate]) == 1,"",[Data.DueDate])]

Moreover, instead of an empty value you can display any information. For example, <no data>: [IIf(Year([Data.DueDate]) == 1,"<no data>",[Data.DueDate])]