Gene,
As I stated in the other newsgroup, your expression is too complex for the
RowFilter.
A couple of workaround ideas:
The first thing I would try is to add parentheses to your expression.
Something like:
(last = 'Harlow' and first = 'Jay') or (last = 'Ariani' and first =
'Gene')
If the continues to fail I would considering adding a new Boolean column to
your dataset. Which I used to filter on. Before I filtered I would use code
similar to:
For Each row As DataRow in DS.Tables("Deployed").Rows
Dim myDataView As DataView = DS.Tables("Deployed").DefaultView
myDataView.RowFilter = "selected = True"
The caveat of the second method is that each row will be modified, possible
causing problems with DataAdapter.Update.
A third method may be to use an ID column in the filter expression that you
are building, then you can safely use a single In expression. (add an
AutoIncrement column to the Deployed table, then use this ID as the
selection criteria).
Hope this helps
Jay