简体   繁体   English

SSRS BIDS表达式根据传递的参数显示/隐藏图像

[英]SSRS BIDS expression Show/Hide image based on passed through parameter

Is it possible to have an image available if a certain field is selected, in this case the parameter is @employeename, I only want the image that has been placed on the report to display if a certain value is true. 如果选择了某个字段,是否可以使用图像,在这种情况下参数是@employeename,我只希望在某个值为真时显示已放置在报表上的图像。

What is the syntax, field i am concerned with is employeename 什么是语法,我关心的领域是雇员

在此输入图像描述

The expression would be something like: 表达式如下:

=IIf(Fields!employeename.Value = "Something", True, False)

You can have "Something" be a hard-coded value or another parameter. 您可以将"Something"设置为硬编码值或其他参数。 The key thing to remember is you have to access the .Value property. 要记住的关键是你必须访问.Value属性。

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

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