
Untitled
By: a guest on
Jun 1st, 2012 | syntax:
None | size: 0.66 KB | hits: 22 | expires: Never
How to draw line after every group in SQL Server Reporting Services?
=Iif(Fields!ProductionCountry.Value = Previous(Fields!ProductionCountry.Value) OR Fields!ProductionCountry.Value = First(Fields!ProductionCountry.Value, "mydataset"),"None","Solid")
If ( current row belongs to the same group as the previous row OR current group row is the first of the dataset, set border to none, set border to solid)
=IIF((Previous(Fields!ProductionCountry.Value) <> Fields!ProductionCountry.Value)
OR (Previous(Fields!IndustryName.Value) <> Fields!IndustryName.Value)
OR (Previous(Fields!ProductGroup.Value) <> Fields!ProductGroup.Value),
"Solid",
"None")