Dataview RowFilter fails with multiple conditions

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
Ooops, Correction...
meant to say above that the 2nd filter correctly displays rows from either of the 2 conditions
 
Back
Top