开发者

Conditional Action in SSRS

开发者 https://www.devze.com 2022-12-23 19:07 出处:网络
I want my textbox to have an action ONLY if the condition is true, otherwise no action. This is what I have as my current action expression for going to another report:

I want my textbox to have an action ONLY if the condition is true, otherwise no action. This is what I have as my current action expression for going to another report:

=IIf(Fields!MyTextbox.Value = "0", "Report2","")

This does not produce my desired result. It gives the textbox an action regardless of the condition result. Is there a 'No Act开发者_JAVA百科ion' or 'Cancel Action' value?


The null keyword in VB is Nothing:

=IIf(Fields!MyTextbox.Value = "0", "Report2", Nothing)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号