报表服务 – 如何在SQL Server Reporting Services中的每个组之后绘制行?

以下是我创建的报告.我想在每个组之后画一条线,如图中红线所示.
试图用Textbox属性>边框样式表达.但是,一旦我关闭并重新打开它,就不会停留.
如果我为整个组设置边框,该行将重复我不想要的组中的每一行.

任何帮助?

解决方法

对于ProductionCountry,选择整个国家/地区组行.

在属性中,输入上面的边框下面的表达式

=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)

相关文章

SELECT a.*,b.dp_name,c.pa_name,fm_name=(CASE WHEN a.fm_n...
if not exists(select name from syscolumns where name=&am...
select a.*,pano=a.pa_no,b.pa_name,f.dp_name,e.fw_state_n...
要在 SQL Server 2019 中设置定时自动重启,可以使用 Window...
您收到的错误消息表明数据库 'EastRiver' 的...
首先我需要查询出需要使用SQL Server Profiler跟踪的数据库标...