Is it possible to allow for null values in an .rdlc Expression box?
The below code works fine with an actual date value. However, if the value is blank, #Error results on the page as a column value, and a blank space is the goal if a value is blank.
Thanks in advance!
=IIF(Fields!DateTo.IsMissing Or Fields!DateTo Is Nothing, "", Fields!DateTo.Value.ToString().Substring(4,2)+"/"+Fields!DateTo.Value.ToString().Substring(6,2)+"/"+Fields!DateTo.Value.ToString().Substring(0,4))
robert hellestrae