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
yasser_8227158 reputationPosted Mar 15, 2005, 7:23 PM EST
barryr10 reputationPosted Mar 16, 2005, 8:55 AM EST
mikerRank #2,843 · 502 reputationPosted Mar 16, 2005, 10:43 AM EST
barryr10 reputationPosted Mar 19, 2005, 9:31 AM EST
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts