Wednesday, March 21, 2012

how do i have alternative background color

how do i have alternative background color for tabelrow?

thanks

A short tutorial - http://www.sqlservercentral.com/columnists/bknight/reportingservicesconditionalformatting.asp

Just add an expression to the background color of the detail row:

=iif(RowNumber(Nothing) Mod 2, "WhiteSmoke", "White")

|||thank you so much|||

BTW: in case you using a matrix (and not a table), you have to follow the approach discussed in the following article: http://blogs.msdn.com/chrishays/archive/2004/08/30/GreenBarMatrix.aspx

-- Robert

No comments:

Post a Comment