Queries

  • Thread starter Thread starter John
  • Start date Start date
J

John

I am trying to count the number of records which meet a
certain criteria. Each record has a field which states
the number of items needed to be completed in a request.
As a part of the request gets completed a new record is
added. What is the best way to query the data to get a
result which calculates the number of records(i.e the
number of items completed in a request)?

Thanks,
John
 
Hi,



SELECT QuestID, COUNT(*)
FROM myTable
GROUP BY QuestID



Hoping it may help,
Vanderghast, Access MVP
 
I am trying to count the number of records which meet a
certain criteria. Each record has a field which states
the number of items needed to be completed in a request.
As a part of the request gets completed a new record is
added. What is the best way to query the data to get a
result which calculates the number of records(i.e the
number of items completed in a request)?

Thanks,
John

A Totals query, created by clicking the Greek Sigma icon in query
design view.
 

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

Access Dcount (multiple criteria) 3
The query cannot be completed. 1
Incomplete Batches 6
Update query - sequential numbering 3
Query Question 3
Dcount returning no results!!! 0
Help with a query 3
Sum of Counts from a query 1

Back
Top