当表没有行时,将表的可见性设置为 false(在报告服务中) [英] Set a table's visibility to false when it has no rows (in reporting services)

查看:54
本文介绍了当表没有行时,将表的可见性设置为 false(在报告服务中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果表没有行,有没有办法将表的可见性设置为 false?

我想在 Reporting Services 中隐藏没有行的表.

I want to hide a table in Reporting Services when it has no rows.

在这种情况下,将 NoRows 设置为 ="" 是不够的,因为表格仍有空间,并且表格的某些格式仍然可见.

Setting NoRows to ="" isn't sufficient in this case as space is still left for the table, and some of the table's formatting is still visible.

我使用的是 Microsoft Visual Studio/SQL Reporting Services 2005

I'm using Microsoft Visual Studio / SQL Reporting Services 2005

推荐答案

尝试将表的Visibility.Hidden"属性设置为此表达式:

Try setting the table's "Visibility.Hidden" property to this expression:

=CountRows() = 0

这篇关于当表没有行时,将表的可见性设置为 false(在报告服务中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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