|
-
March 15th, 2005, 04:53 PM
#1
rowFilter compound expression problem
anyone got an idea why this won't work:
dataView1.RowFilter = "ID NOT IN(" + ErrorString + ") or " + "Description LIKE '%" + KeywordFilter2 + "%' or " + "Name '%" + KeywordFilter2 + "%' or " + "Place '%" + KeywordFilter2 + "%'";
this works fine:
dataView1.RowFilter = "ID NOT IN(" + ErrorString + ")"
as does this:
dataView1.RowFilter = "Description LIKE '%" + KeywordFilter2 + "%' or " + "Name '%" + KeywordFilter2 + "%' or " + "Place '%" + KeywordFilter2 + "%'";
but not together. Error string contains a string of type a,b,c.....
cheers
barry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|