I'm trying to change the font color of some fields on a report I built in CR XI. I'm using the format editor to the right of the font. Here's my formula:
IF
{qry_OandU_report.TotLoans} > {?TotalLoans}
and
{qry_OandU_report.TLOA} > {?PGTotalLoans}
and
tonumber({@DM_AO}) > {?DiffOvgMean}
then
crRed
The data type of all parameter fields is number, as are the two fields being pulled from my query. The formula field {@DM_AO} is formatted as text, but as you can see, I'm converting it to a number in order to compare it to the parameter field. I even tried hard coding the parameter values (10, 4, and .05 respectively) and the font still will not change.
Any suggestions would be greatly appreciated.
IF
{qry_OandU_report.TotLoans} > {?TotalLoans}
and
{qry_OandU_report.TLOA} > {?PGTotalLoans}
and
tonumber({@DM_AO}) > {?DiffOvgMean}
then
crRed
The data type of all parameter fields is number, as are the two fields being pulled from my query. The formula field {@DM_AO} is formatted as text, but as you can see, I'm converting it to a number in order to compare it to the parameter field. I even tried hard coding the parameter values (10, 4, and .05 respectively) and the font still will not change.
Any suggestions would be greatly appreciated.