I am trying to write a query that will allow a partial word search.
I know that if I have something along the lines of
SELECT TblName.Name, TblName.Categor y, TblName.Type,
TblName.Ingredi ents, TblName.Instruc tions
FROM TblName
WHERE (((TblName.Name ) Like [Keyword Search]));
then this will allow the user to type in their keyword and have the
results bring back anything that is an exact match.
In SQL I would use like %red% to find anything that contained the
string red. How do I do a Like search of ths nature in Access, keeping
in mind that I still want the user to be able to type in their string.
I have tried a number of varients using % and * but nothing working....
Thanks in advance!
I know that if I have something along the lines of
SELECT TblName.Name, TblName.Categor y, TblName.Type,
TblName.Ingredi ents, TblName.Instruc tions
FROM TblName
WHERE (((TblName.Name ) Like [Keyword Search]));
then this will allow the user to type in their keyword and have the
results bring back anything that is an exact match.
In SQL I would use like %red% to find anything that contained the
string red. How do I do a Like search of ths nature in Access, keeping
in mind that I still want the user to be able to type in their string.
I have tried a number of varients using % and * but nothing working....
Thanks in advance!
Comment