Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to apply if Condition in rdlc report to display "Yes" if the column return true value and if it display false return "No"

Tags:

rdlc

report

i am working on rdlc report , i have a column in rdlc report , and i want if there is true value , return me "YES" and if there is false return "NO" i have tried the following code but it not working

=iif(Field!Application.value)="True","Yes","No"))

thanks in advance.

like image 933
user3340023 Avatar asked Apr 25 '14 10:04

user3340023


People also ask

How do you use multiple if conditions in Rdlc report expression?

You can use the Code property of the report. Right-click a blank space outside your report and click Report Properties or click the Report menu and click report properties. Save this answer.

How do I set column visibility in Rdlc report?

right click on your column in rdlc select column visibility.

How do I add a check mark in Rdlc?

If checkbox is true I set Chr(254) else show unchecked checkbox using Chr(168) . Chr(254) : This is decimal value for Wingdings character 254 its shows like checked check box image. Chr(168) : This is decimal value for Wingdings character 168 its shows like rectangle box like unchecked check box image.


1 Answers

I thought it was like this

=IIf(Field!Application.Value = true,"yes","no")

1) 'V' is supposed to be capital 2) parenthesis should be at the end.

like image 142
sylar Avatar answered Sep 28 '22 00:09

sylar