I am looking for the SQL code to set a font color in an ActivityStatus field that is rendering in a grid.
If the activity is set to "Not Started" then it should show in the grid red
If the activity is set to "Completed" then it should show in the grid green
In the advanced properties of the column ActivityStatus (alias: Status) I entered the folowing but get an error generating grid
CASE WHEN viewActivity.ActivityStatus = 'Not Started' THEN '<font color="red"><b>' + ActivityStatus + '</b></font>' WHEN viewActivity.ActivityStatus = 'Completed' THEN '<font color="green"><b>' + ActivityStatus + '</b>' ELSE '<font color="black">' + Entity + '</font>' END)