Using SSRS 2005 with SQL 2005. I am working on a report and I want to change the background color of a date field if that date is not null and is within 30 days of the current date. I have used every variation that I can think of in the background properties expression, and I keep getting error messages.
This is the code that I have right now (which doesn't work of course.)
=Switch (Fields!CrisisPlanningDueDate.Value <>"" and Fields!CrisisPlanningDueDate.Value < ((Today)+30),"LightCoral")
Can someone help me out?
This is the code that I have right now (which doesn't work of course.)
=Switch (Fields!CrisisPlanningDueDate.Value <>"" and Fields!CrisisPlanningDueDate.Value < ((Today)+30),"LightCoral")
Can someone help me out?