Hello, I'm testing a field for null values and then color coding the background based on who the record belongs to. I can not get it to work. If I change the default color to black (meaning it will change the records that have data to be completely black) as opposed to white, it works. So the syntax is correct. I'm confused as to what I'm doing wrong. Can someone help? I am using CR 9.0 Developer and it's a string field. Thank you.
if {@Silo} = "Services" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,204,204) else
if {@Silo} = "Infrastructure" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(204,204,153) else
if {@Silo} = "Information Assurance" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,255,255) else
if {@Silo} = "Win2K" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(255,255,204) else
if {@Silo} = "Messaging" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(255,204,204) else
if {@Silo} = "EMS" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(102,102,102) else
if {@Silo} = "Deployment" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,204,255) else
if {@Silo} = "Server Farm/Storageand isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,255,0) else
if {@Silo} = "Business" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(204,153,204) else
crwhite
if {@Silo} = "Services" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,204,204) else
if {@Silo} = "Infrastructure" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(204,204,153) else
if {@Silo} = "Information Assurance" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,255,255) else
if {@Silo} = "Win2K" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(255,255,204) else
if {@Silo} = "Messaging" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(255,204,204) else
if {@Silo} = "EMS" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(102,102,102) else
if {@Silo} = "Deployment" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,204,255) else
if {@Silo} = "Server Farm/Storageand isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(153,255,0) else
if {@Silo} = "Business" and isnull({HPD_HELPDESK.ROOT_CAUSE}) then
rgb(204,153,204) else
crwhite