Event Fill Color in Calendar


06-19-2009, 7:53 AM
I have a calendar and I'm trying to change the color basedon the event status. It seems I can simply change the color - but nothing works with the expression. I don't know if I have the expression wrong, or what is up, so I'm asking. Here is my "expression":

=IIF(Fields!StatusID.Value = 1, LightYellow, Honeydew)

I've changed the colors and tried to troubleshoot exactly what is going on. I've even changed the expression to read:

=IIF(Fields!StatusID.Value = 1, DarkRed, DarkRed)

Which I would think would turn everyting DarkRed -but it's always LightYellow (which was the default upon start of the calendar).

Any help would be greatly appreciated!

Heather

Re: Event Fill Color in Calendar


06-22-2009, 4:18 AM
Hello,
Please, use the quotes for the color names:
=IIF(Fields!StatusID.Value = 1, "LightYellow", "Honeydew")

Sergey Abakumoff
GrapeCity