将字段值从子报表传递到 SSRS 2013 中的主报表

Passing field values from subreport to main report in SSRS 2013

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

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

将参数传递给子报表:

'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