Hi all,
I am attempting to concatenate two fields in my report i.e. [Next Contact Date] and [Next Contact Employee]
The issue is, these fields can be NULL.
1.
=Iif(Trim(Fields!EmployeeName.Value) = "", "", Fields!EmployeeName.Value.ToString() + ": " + Format(Fields!NextContact.Value, "dd/MM/yyyy"))
2.
=Iif(IsNothing(Fields!EmployeeName.Value), "", Fields!EmployeeName.Value.ToString() + ": " + Format(Fields!NextContact.Value, "dd/MM/yyyy"))
Both of the expressions that i have tried are returning an error:
The Value expression for the textrun ‘NextContact.Paragraphs[0].TextRuns[0]’ contains an error: Object reference not set to an instance of an object.
Any assistance appreciated.
Cheers.