(Like "Holiday*" And Not Like "Public Holiday*") Or Like "vacation*"
Access may well change that to two criteria rows the next time you open it
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=7713
in design view, though. The query designer does that sometimes, and as far
as I know there isn't any way to stop it, short of never opening the query
in design view.
I'm not sure that it really makes any difference in this scenario, though?
--
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=7713
Brendan Reynolds
"PE"
wrote in message
news:%23msGLUC7FHA.1032@TK2MSFTNGP11.phx.gbl...
>I have created a query and would like to select records based on the
> following criteria:
>
> Select all records where the field has "holiday" or "vacation" but exclude
> those which have "public holiday".
>
> Is it possible to put the criteria on one line or would I have to use two
> lines -
> Like "Holiday*" And Not Like "Public Holiday*"
> Like "vacation*"
>
> Al
>
>