Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssrs 2008 如何在SSRS中设置矩形的可见性_Ssrs 2008_Reporting Services - Fatal编程技术网

Ssrs 2008 如何在SSRS中设置矩形的可见性

Ssrs 2008 如何在SSRS中设置矩形的可见性,ssrs-2008,reporting-services,Ssrs 2008,Reporting Services,我在实现矩形的可见性时遇到了一些困难,我使用了这行代码来设置可见性: =IIF(Len(ReportItems!txtCountVolunteer.Value) > 0, true, false) 不幸的是,它不起作用。也祝你好运 看起来你把表达式中的逻辑颠倒了。矩形有“隐藏”属性,请注意,没有“可见”属性。因此,矩形“隐藏”属性的表达式应为: =IIF(Len(ReportItems!txtCountVolunteer.Value) <= 0, true, false) =

我在实现矩形的可见性时遇到了一些困难,我使用了这行代码来设置可见性:

=IIF(Len(ReportItems!txtCountVolunteer.Value) > 0, true, false) 

不幸的是,它不起作用。

也祝你好运

看起来你把表达式中的逻辑颠倒了。矩形有“隐藏”属性,请注意,没有“可见”属性。因此,矩形“隐藏”属性的表达式应为:

=IIF(Len(ReportItems!txtCountVolunteer.Value) <= 0, true, false) 
=IIF(Len(ReportItems!txtCountVoluncient.Value)