Report Showing Number of Records for Specific Date Range

G

Geoffrey.Bakker

I have a database which records Presentations based on PresentationDate
as a date in format DDMMYYYY and PresentationSemester (Spring, Summer,
Fall). I need my report to display the number of presentations done
for each semester in each year. Is this possible in access? I have
tried the count function but that just counts the total number of
presentations not a subgroup count. Thanks
 
M

Marshall Barton

I have a database which records Presentations based on PresentationDate
as a date in format DDMMYYYY and PresentationSemester (Spring, Summer,
Fall). I need my report to display the number of presentations done
for each semester in each year. Is this possible in access? I have
tried the count function but that just counts the total number of
presentations not a subgroup count. Thanks


Try something like:

SELECT Year(PresentationDate),
PresentationSemester,
Count(*) As PresentationCount
FROM sometable
GROUP BY Year(PresentationDate),
PresentationSemester
 
G

Geoffrey.Bakker

Thanks very much!

-Geoff
Marshall said:
Try something like:

SELECT Year(PresentationDate),
PresentationSemester,
Count(*) As PresentationCount
FROM sometable
GROUP BY Year(PresentationDate),
PresentationSemester
 

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

Top