I want to apply some text formatting on unbound text boxes, but it's not working.
I think I've narrowed down the problem - has something to do with the control source being an IIF statement. I say this because the conditional formatting works fine on other unbound text boxes on the report, whose control sources are just simple math.
Here is the control source info:
=IIf([txtP1_I5_1NA]=[fldCountReviews],"NA",[txtP1_I5_1Y]/[txtP1_I5_1Countable])
That works fine. Also: the result is formatted as a percent, 2 decimal points, & all of the fields like this one on the report are italic.
However, when I try, either with the contional formatting options on the report or with VBS, to tell it to turn any answer that is <= 60 red/bold, it generally just turns them all red/bold.
I have even tried using the additional formatting of if it's > 60 leave it black - that doesn't work.
Ideas?
Thanks!
I think I've narrowed down the problem - has something to do with the control source being an IIF statement. I say this because the conditional formatting works fine on other unbound text boxes on the report, whose control sources are just simple math.
Here is the control source info:
=IIf([txtP1_I5_1NA]=[fldCountReviews],"NA",[txtP1_I5_1Y]/[txtP1_I5_1Countable])
That works fine. Also: the result is formatted as a percent, 2 decimal points, & all of the fields like this one on the report are italic.
However, when I try, either with the contional formatting options on the report or with VBS, to tell it to turn any answer that is <= 60 red/bold, it generally just turns them all red/bold.
I have even tried using the additional formatting of if it's > 60 leave it black - that doesn't work.
Ideas?
Thanks!