Query Question

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

Guest

In a Query when you select Query -> Totals.. there is a total "Where" that
you can select. What does this do?
 
In a Query when you select Query -> Totals.. there is a total "Where" that
you can select. What does this do?

This lets you apply criteria to determine which records to include in
the query. The WHERE option will filter the records before any
summing, counting, etc. take place, making it more efficient (and,
often, letting you create a query that returns correct answers).

Putting criteria on the Criteria line under a GROUP BY field can work,
but it's much less efficient since the query does all its summing,
counting, etc. and then discards any results which don't match the
criterion.

John W. Vinson[MVP]
 

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