Dataview RowFilter fails with multiple conditions

G

Guest

Trying to use a RowFilter with multiple conditions OR'ed together
The dataview the rowfilter is set on is the datasource of a datagrid

This filter..
"(Instances > '9') OR (Time < '1900-01-01 06:00:00.000') OR (Time > '1900-01-01 22:00:00.000')
.... yields incorrect results... only displays rows meeting the 1st condition... the other 2 conditions are ignored

This filter..
"(Time < '1900-01-01 06:00:00.000') OR (Time > '1900-01-01 22:00:00.000')
.... correctly displays rows meeting both conditions

Any idea if I should be using a different syntax

Thank
-Mat
 
G

Guest

Ooops, Correction...
meant to say above that the 2nd filter correctly displays rows from either of the 2 conditions
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top