Criteria in Query

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Where exactly is this formula put in ? Im a little confused.

Thanks



SELECT StoreNumber, TransactionNumber, TransactionDate, LineNumber
FROM MyTable
WHERE StoreNumber NOT IN
(SELECT DISTINCT StoreNumber
FROM MyTable
WHERE LineNumber = "MRD")
 
Create a new query. When the Show Table dialog box appears, just close it.
Next go to View, SQL View and paste the SQL statement in there. Save the
query with an appropriate name then run it.
 

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

Back
Top