简体   繁体   English

我可以仅在参数更改时将自动刷新添加到 SSRS 报告吗?

[英]Can I add autorefresh to SSRS report only when parameters change?

影像

I have this report in SSRS, how can I Add autorefresh by code only when parameters change by User (Without clicking red button)我在 SSRS 中有此报告,如何仅在用户更改参数时通过代码添加自动刷新(无需单击红色按钮)

YOU CAN'T你不能

have the report automatically update after the user changes a parameter.让报告在用户更改参数后自动更新。 There's no functionality built in for the parameters.参数没有内置功能。

BUT YOU CAN但是你可以

create your own parameter selection inside the report body that the user can click on and will rerun the report.在报告主体内创建您自己的参数选择,用户可以单击该参数并重新运行该报告。

For this report, the Rate parameter would be hidden.对于此报告,Rate 参数将被隐藏。

A table with one column is added to the report with the Rate parameter data as the table's source and the Rates as the detail value.将包含一列的表添加到报告中,其中 Rate 参数数据作为表的源,Rates 作为详细值。

An ACTION is added to call the same report and populate the Rate parameter with the Rate field from the new Rate table.添加一个 ACTION 以调用相同的报告并使用新 Rate 表中的 Rate 字段填充 Rate 参数。

When a user clicks on a row in the new parameter table, the report action will rerun the report using the click-on value for the Rate.当用户单击新参数表中的一行时,报告操作将使用点击率的值重新运行报告。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM