【问题标题】:Passing field values from subreport to main report in SSRS 2013将字段值从子报表传递到 SSRS 2013 中的主报表
【发布时间】:2018-06-14 12:19:42
【问题描述】:

我正在开发 SSRS 2013 中的报告,其中我试图将列/字段值从子报告传递到主报告,因为我必须使用列/字段的值来显示主报告的其他 tablix 中的行.有人可以帮我弄这个吗。

【问题讨论】:

  • 可以加个截图吗?你能展示一下报告的设计吗?

标签: msbi


【解决方案1】:

操作>转到报告处转到您的文本框属性:

将参数传递给子报表:

'Name
Parameter1Sub 'This is the name used in the subreport

'Value
[@Para1]

'In the expression
=Parameters!Para1.Value

如果你想从你的 tablix 传递一个值:

'Name
FieldNameSub 'This is the name used in the subreport

'Value
[FieldName.UniqueName]

'In the expression
=Fields!FieldName.UniqueName

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-10-22
    • 1970-01-01
    • 2013-10-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多