根据 2 个标准中的 1 个隐藏 SSRS 文本框
Hide SSRS Text Box Based On 1 of 2 Criteria
我们有一个 SSRS 报告,如果客户属于 2 个客户组中的 1 个,我们需要在其中隐藏一个文本框。
我可以使用表达式
为一组隐藏文本框
=Reportitems!Customer_GroupCode1.Value = "ID"
但是,如果第二个客户组代码出现,我不确定如何隐藏它。
我在想
=Reportitems!Customer_GroupCode1.Value = "ID"
Reportitems!Customer_GroupCode1.Value = "FI"
可能有用,但没用。
帮助我朝着正确的方向前进!
尝试:
=IIF(Reportitems!Customer_GroupCode1.Value = "ID"
or Reportitems!Customer_GroupCode1.Value = "FI",True,False)
在您的文本框的隐藏 属性 中。
我们有一个 SSRS 报告,如果客户属于 2 个客户组中的 1 个,我们需要在其中隐藏一个文本框。
我可以使用表达式
为一组隐藏文本框=Reportitems!Customer_GroupCode1.Value = "ID"
但是,如果第二个客户组代码出现,我不确定如何隐藏它。
我在想
=Reportitems!Customer_GroupCode1.Value = "ID"
Reportitems!Customer_GroupCode1.Value = "FI"
可能有用,但没用。
帮助我朝着正确的方向前进!
尝试:
=IIF(Reportitems!Customer_GroupCode1.Value = "ID"
or Reportitems!Customer_GroupCode1.Value = "FI",True,False)
在您的文本框的隐藏 属性 中。