I’m having problems with a formula using CR 2013. It’s just a background color formula for a box that I want to paint using background color in Format Editor..
I have a crazy formula that checks for conditions and just paints the text box a certain color based on certain conditions in the data
if (isnull({Header.IS_STARTED}) or {Header.IS_STARTED}="N" or {Header.IS_STARTED}="") and (tonumber({@doc age})>tonumber({@WF_LIMIT})) then cryellow else
if (tonumber({@doc age})>tonumber({@WF_LIMIT}) and {Header.IS_STARTED}="Y") then crred else
if {@doc age}<={@WF_LIMIT} then crgreen else
crnocolor
This actually works but I want to add another condition that would override the other colors
if {RESPONSIBILITY.SIGNOFF}="N" then crblue else
If I add that to the beginning of the formula it makes those records blue, but it doesn't go on and do the rest of the statements. No other colors are filled in.
I know it's weird question but does anyone have ideas?
Thanks!!!
I have a crazy formula that checks for conditions and just paints the text box a certain color based on certain conditions in the data
if (isnull({Header.IS_STARTED}) or {Header.IS_STARTED}="N" or {Header.IS_STARTED}="") and (tonumber({@doc age})>tonumber({@WF_LIMIT})) then cryellow else
if (tonumber({@doc age})>tonumber({@WF_LIMIT}) and {Header.IS_STARTED}="Y") then crred else
if {@doc age}<={@WF_LIMIT} then crgreen else
crnocolor
This actually works but I want to add another condition that would override the other colors
if {RESPONSIBILITY.SIGNOFF}="N" then crblue else
If I add that to the beginning of the formula it makes those records blue, but it doesn't go on and do the rest of the statements. No other colors are filled in.
I know it's weird question but does anyone have ideas?
Thanks!!!