Jobert Enamno
Jobert Enamno

Reputation: 4461

RDLC Show/Hide control base on a field value

I have rectangle rdlc control and inside it there are several textboxes. The rectangle visibility depends on "Interest" dataset field. If interest value is greater than 0 then display that rectangle else hide.

I tried to set the visibility expression of the rectangle like this

=Sum(Fields!Interest.Value, "BasePayment")>0

But that's not working. Even if the interest value is greater than zero the rectangle is not showing at all.

Please help. I'm new to RDLC

Upvotes: 1

Views: 6816

Answers (1)

Iswanto San
Iswanto San

Reputation: 18569

Try to change your visibility expression to this:

=Sum(Fields!Interest.Value, "BasePayment")<=0

Upvotes: 5

Related Questions