I must be losing my mind because this is a very simple procedure, but it is kicking my butt. I have a report that gets it's data from a Stored Procedure. One of the fields within the SP is:
This field is called Employee. So I am trying to format the field so that if it is blank then it should display "No Employee" but for some reason I am struggling with this.
I right-click on the field (Within the report) and go to "Format Field". Then I choose "X-2" beside the "Display String". My formula looks like this:
This doesn't work, the blank records are still returned. Shouldn't they read "No Employee"? Also I tried IsNull and get the same results.
Code:
FirstName + ' ' + LastName
This field is called Employee. So I am trying to format the field so that if it is blank then it should display "No Employee" but for some reason I am struggling with this.
I right-click on the field (Within the report) and go to "Format Field". Then I choose "X-2" beside the "Display String". My formula looks like this:
Code:
If Trim({Reason;1.Employee}) = "" Then
"No Employee"
Else
{Reason;1.Employee}
This doesn't work, the blank records are still returned. Shouldn't they read "No Employee"? Also I tried IsNull and get the same results.