asma
asma

Reputation: 2825

rdlc text box visibility formula

I have an rdlc file that has some text boxes. I have a flag value in my dataset. I want to check that flag if it is 1 then show the text box and if it is 0 then hide the text box. Any ideas??

Fields!ConsentFlag.Value, "DSConsentRelease"

This is the field I want to check.

Upvotes: 2

Views: 10632

Answers (3)

user3706834
user3706834

Reputation: 1

=First(Fields!ConsentFlag.Value, "dsjobsheet")=1 <---- Only replace 1 here your condition. this code only put Properties->visibility->expression. Ex. 1 is Visible And 0 is Invisible

Upvotes: -1

Niraj
Niraj

Reputation: 1842

set the textbox's visibility expression to

=iif(First(Fields!ConsentFlag.Value, "dsjobsheet")=1,false,true)

Upvotes: 2

Bala R
Bala R

Reputation: 108947

set the textbox's visibility expression to

=iif(Fields!ConsentFlag.Value == 1,true ,false)

Upvotes: 6

Related Questions