Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. Dim pQF as IQueryFilter
  2. Set pQF = new QueryFilter
  3. pQF.WhereClause = "upper(" & strFieldToSearch &") LIKE '%" & UCase(Replace(strSearch,"'","''")) & "%'"
  4.  
  5. queryFilter.WhereClause = searchField + " LIKE '%" + search.Replace("'","''") + "%'";
  6.  
  7. queryFilter.WhereClause = strSearchField.ToUpper() + " LIKE " + "'%" + strSearch.ToUpper() + "%'";
  8.  
  9. queryFilter.WhereClause = "upper(" + strSearchField + ") LIKE'%" + strSearch.ToUpper() + "%'";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement