我的日期时间字段报告遇到以下问题:
#Error
我检查 null 或空,但我总是得到这个错误
我试试这个:
=IIf(CDate(Fields!recommendationDate.Value)=CDate("1/1/0001"),Nothing,
CDate(Fields!recommendationDate.Value).ToShortDateString())
=IIf(FormatDateTime(Fields!recommendationDate.Value,2)=CDate("1/1/0001"),"",FormatDateTime(Fields!recommendationDate.Value.Value,2))
=IIF(Fields!recommendationDate.Value is nothing, nothing,Format(CDate(Fields!recommendationDate.Value),"dd/MM/yyyy"))