jenschmidt
Programmer
I have a very simple report with two groups (none hidden) and some formulas and subtotals.
One of the formulas in the details section has this font color formula applied to itself:
if {@Check In to Arrival to Deletion}>19 then crred
else crblack
The formula, {@Check In to Arrival to Deletion}, is:
datediff("n",{PAT_ENC.CHECKIN_TIME}, {PAT_ENC.ARVL_LST_DL_TIME})
In regard to the color change, everything works perfectly until the formula returns a value of zero. If the record previous is >19, the zero turns red as well. I even have the following case:
27 (red)
0 (red) -- should be black
0 (red) -- should be black
33 (red)
3 (black)
0 (black)
16 (black)
4 (black)
Any ideas on what I'm doing wrong? Have I posted enough info?
Thanks!
jennifer.giemza@uwmf.wisc.edu
One of the formulas in the details section has this font color formula applied to itself:
if {@Check In to Arrival to Deletion}>19 then crred
else crblack
The formula, {@Check In to Arrival to Deletion}, is:
datediff("n",{PAT_ENC.CHECKIN_TIME}, {PAT_ENC.ARVL_LST_DL_TIME})
In regard to the color change, everything works perfectly until the formula returns a value of zero. If the record previous is >19, the zero turns red as well. I even have the following case:
27 (red)
0 (red) -- should be black
0 (red) -- should be black
33 (red)
3 (black)
0 (black)
16 (black)
4 (black)
Any ideas on what I'm doing wrong? Have I posted enough info?
Thanks!
jennifer.giemza@uwmf.wisc.edu