PC Review


Reply
Thread Tools Rate Thread

Count total records by date

 
 
DSpencer
Guest
Posts: n/a
 
      23rd Mar 2010
I Have a table containing names, age, id number, and date of entry.
I would like to count the total number of records by month on a report.

--
Novice Access User
 
Reply With Quote
 
 
 
 
Jerry Whittle
Guest
Posts: n/a
 
      23rd Mar 2010
Do you want Dec, Jan, Feb, Mar, etc. or Dec 09, Jan 10, Feb 10...

In other words do you just want by Month or Month and Year? Also what
version of Access?

Open up a new query in design view, but don't add any tables to the grid.
Instead go to View, SQL View and paste in the following. Change the field
names to what's correct and YourTable to the correct table name.

SELECT Month([date of entry]), Count(ID)
FROM YourTable
GROUP BY Month([date of entry]) ;

or

SELECT Year([date of entry]), Month([date of entry]), Count(ID)
FROM YourTable
GROUP BY Year([date of entry]), Month([date of entry]) ;

--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

"DSpencer" wrote:

> I Have a table containing names, age, id number, and date of entry.
> I would like to count the total number of records by month on a report.
>
> --
> Novice Access User

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Count Total Records on Access report Adam Milligan Microsoft Access Reports 1 22nd Nov 2008 12:26 AM
How do I make total records count faster? JohnW Microsoft Access Forms 2 13th Feb 2008 04:45 PM
How do I count total # of records between dates? =?Utf-8?B?Sm9l?= Microsoft Access Queries 3 10th Oct 2006 03:45 AM
How to count the total records on a particular page Irshad Alam Microsoft Access Reports 1 2nd Sep 2004 02:05 PM
Count total records from a query Shane Microsoft Access Queries 1 20th Nov 2003 11:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 PM.