Querying for phrase that includes the word And

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I query using a phrase *me and you*. I do not want the word "and" to
be an operator. Thanks.
 
The 'And' in the criteria Like "*me and you*" is _inside the String
delimiters " and it will be treated as part of the String, _not_ as a
logical operator.
 
I entered it as *me and you* and got zero results. It is being treated as a
logical operator. After entering the phrase (enclosed by *s), I get this:

Like "*you" And Like "me*"
 
I entered it as *me and you* and got zero results. It is being treated as a
logical operator. After entering the phrase (enclosed by *s), I get this:

Like "*you" And Like "me*"

Like "*Me and you*"

on one line works for me (though the grammar bothers me. Perhaps you
should try

Like "*You and I*" <g>
 
No. You have to enter:

Like "*you and me*"

including the double quotes as String delimiters.
 
That's the ticket! I manually entered the quotes rather than letting Access
do it automatically. Bingo! Thanks!
 
Back
Top