Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / January 2007

Tip: Looking for answers? Try searching our database.

Report Showing Number of Records for Specific Date Range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Geoffrey.Bakker@gmail.com - 16 Jan 2007 19:02 GMT
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
Marshall Barton - 16 Jan 2007 20:52 GMT
>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

Signature

Marsh
MVP [MS Access]

Geoffrey.Bakker@gmail.com - 18 Jan 2007 16:38 GMT
Thanks very much!

-Geoff

> >I have a database which records Presentations based on PresentationDate
> >as a date in format DDMMYYYY and PresentationSemester (Spring, Summer,
[quoted text clipped - 11 lines]
> GROUP BY Year(PresentationDate),
>                                 PresentationSemester
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.