문제

I am specifying following IIF condition in Textbox action property to run a drill through report:

=IIF(Fields!DeptName.Value="Department Total", Nothing, "TimekeeperTitlesMainBECReport")

When DeptName is not "Department Total" the texbox is properly clickable. However, it is clickable even when DeptName is "Department Total". I understand that both sides of IIF are executed. However, I am not able to figure out how to fix this issue.

도움이 되었습니까?

해결책

Do you specifically mean that you have enabled Action -> Go to report on the textbox (i.e. a drillthrough report)? This is not the same as a subreport.

As you've described it, it should be working as you expect. I cannot replicate your issue in Visual Studio - with a similar expression I get no option to drillthrough where the expression is evaluating to Nothing.

I would start by recreating the textbox/action and see if this resolves the issue.

다른 팁

Try this it will work. Faced the same Issue

=IIF(Fields!DeptName.Value="Department Total", 0 , "TimekeeperTitlesMainBECReport")
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top