문제

I have report as table component. I want to apply the following logic:

If value INCID is not null, the border should be "Solid" (meaning it should have border),
If value INCID is null, the border should be "None" (meaning the table should have no border).

I used =IIf(IsNothing(Fields!INCID.Value) = 1,"Solid","None") but it doesn't work. Where could be the problem? If I apply this and save this settings and then go back to the expression, it is not saved.

도움이 되었습니까?

해결책 3

OK, this seemed to be the problem.

다른 팁

3 Years late, but my answer was different and maybe will help someone else one day.

I was able to make the expression work by entering it into the BorderStyle Properties.

Click on a given cell > Open Properties > Expand BorderStyle > Choose desired Side of Cell > Enter iif expression.

For example the following worked for me:

=iif(MAX(Fields!DistinctDevicecount.Value) > 1, "Solid", "None")
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top