Help With Criteria in Query

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

Guest

Quite simple. I want to display two types of records from a field. Example :-
My field has Rolex, Omega, Tudor and Tag, I want to extract only Rolex and
Tag.
In the criteria box what do I put in there. I thought it would be LIKE
"Rolex" AND "TAG" or maybe "Rolex" AND "Tag"
But it wont work. Can anyone help and/or point me to a good site so that I
can learn these SQL statement thingys......Thanks in advance for anyone that
helps.
 
"Rolex" Or "Tag"
in criteria row

or

SELECT TableName.PrimaryField, TableName.FieldName
FROM TableName
WHERE (((TableName.FieldName)="Rolex" Or (TableName.FieldName)="Tag"));
 
Wayne you are a hero.......Thanks for reading and responding.....Do you know
of any good sites or books that can help with these kind of issues?
 
You could try here for a start

http://www.mvps.org/access/queries/index.html

Not sure about books. The only ones I have are the standard (think you
should be able to get them from Amazon)

Using Access
ISBN 0-7897-1606-2
and others like this.

I think someone else may answer this post with better books and ideas.
Sorry can't be much help with this but I am OK with speaking and "slow"
reading in English but still would have problems with getting to much info
from a book.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top