Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Conditional formatting on date value in textbox

$
0
0

I want to change the font color of the date that appears in a textbox depending on whether it is 31 days less than today.

I have this in the Color property of the textbox and the report runs but formatting doesn't happen.

=iif(Fields!BIRTH_DATE.Value < dateadd("day",-31,Today),"RED","BLACK")


Viewing all articles
Browse latest Browse all 10045


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>