This is a migrated thread and some comments may be shown as answers.

How to replace AND with OR in Parameter filters ,

1 Answer 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Waqas
Top achievements
Rank 1
Waqas asked on 26 Nov 2011, 05:43 AM
Hi !
Last time i have a query about the parameters , now i want to know about the AND and OR operator in Filters , By default there is AND operator is there when i add two or more then two parameters , can i replace that AND operator with OR operator ?
Please Reply soon:(

Best Regards

Waqas 

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 28 Nov 2011, 08:49 AM
Hi Waqas,

Indeed we currently lack OR logical operator when working with filters. The workaround is to combine your statements to achieve the desired effect i.e. if you have the following formatting rule:

          Expression   Operator     Value
         ==========================
          =a                    =              =1
(Or)    =b                    =              =10

You can transform it like this:

              Expression          Operator     Value
         ==============================
          =a = 1 Or b = 10         =              =true

Hope this helps and sorry for the inconvenience once again.

Kind regards,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Waqas
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or