hi to all
I use a SQL statement as the RowSource of a ListBox. Here's a line used as I build up the SQL statement...
strSQLWhere = strSQLWhere & " AND ((" & strParts & "." & str1 & ") LIKE [txtSrch1]) "
The statement works fine, but I can't figure out the syntax of what to put into txtSrch1 to do the following: Select values that DO NOT begin with the @ symbol.
(w, T, UU should be included in the WHERE, but @R, @, @i should be excluded) I've tried lots of variations, but I can't seem to get the syntax right. txtSrch1 = "?????"
thanks for any help
Vicky
I use a SQL statement as the RowSource of a ListBox. Here's a line used as I build up the SQL statement...
strSQLWhere = strSQLWhere & " AND ((" & strParts & "." & str1 & ") LIKE [txtSrch1]) "
The statement works fine, but I can't figure out the syntax of what to put into txtSrch1 to do the following: Select values that DO NOT begin with the @ symbol.
(w, T, UU should be included in the WHERE, but @R, @, @i should be excluded) I've tried lots of variations, but I can't seem to get the syntax right. txtSrch1 = "?????"
thanks for any help
Vicky