I'm performing a condition in my report to insert "-"
when the Due date is null, but an error occurs when the date comes other than null. Below is the image that shows the error when filling in the due date:
Thefollowingexpressionwasusedinthereportreport:
=IIf(Fields!DataVencimentoPago.Value<>"",Format(Fields!DataVencimentoPago.Value,"dd/MM/yyyy"),"-")
I tried it in another way, but without success:
=IIf(Fields!DataVencimentoPago.Value <> "", Fields!DataVencimentoPago.Value,"-")