SmT SmT - 3 days ago 5
Vb.net Question

How to group filter conditions in ReportViewer VB.Net?

How can I combine the filter conditions in a Table in ReportViewer?
Here is a screenshot:

http://img21.imageshack.us/img21/8376/asdnot.jpg

I want to do like this;

if (Expr3.Value = 0) or (Expr3.Value = 3) or (Expr3.Value = 6) or (Expr3.Value = 4 and Vadeli.Value = True)

Answer

You can use just one line in the Filters dialog. Set the first column (Expression) equal to an expression that is

(Expr3.Value = 0) or (Expr3.Value = 3) or (Expr3.Value = 6) or (Expr3.Value = 4 and Vadeli.Value = True)

And the operator to

=

And the Value to

True
Comments