Reporting Services-根据报表参数隐藏表格列 [英] Reporting Services - hide table column based upon report parameter

查看:73
本文介绍了Reporting Services-根据报表参数隐藏表格列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Reporting Services 2005中有一个报表,并且我想根据报表参数隐藏或显示单个表列.有谁知道如何做到这一点?

I have a report in Reporting Services 2005, and I want to hide or show a single table column based upon a report parameter. Does anyone have any idea how to do that?

谢谢!

推荐答案

将列的可见性"设置为将返回true或false的表达式.例如,可以在文本框的可见性"选项卡中找到此属性.

Set the Visibility for the column to an expression which will return true or false. This property can be found on in the Visibility tab on a TextBox for example.

单击表达式"的单选选项,然后您的表达式可能类似于

Click the radio option for Expression and then your expression might look like

=Parameters!ShowColumn.Value

这篇关于Reporting Services-根据报表参数隐藏表格列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆