Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have the following expression which works:

=Fields!caseno.Value & " " & IIf(Fields!prob_viol_fl.Value ="Y", "PV", " ")


If prob_viol_fl = "Y", it adds the PV after the caseno. to look like this:

F1158385H PV

But I also need for the font/display to be in the color "Red". I tried another nest IIF, but I have if wrong.

Thanks,
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900