Calculate date in report

eugz

Registered User.
Local time
Today, 07:17
Joined
Aug 31, 2004
Messages
128
Calculate records per month

Hi all.
I need to calculate how many records I have in each month and create table based on this summary result.
I appreciate any help.
 
Last edited:
Try this...

Try this with a table with a field called Dates:

SELECT
Format([Dates]
,"mm" & " yyyy") AS [Date]
, Count(Format([Dates],"mm" & " yyyy"))
AS
[Count] INTO tblCountMonths
FROM
SomeData
GROUP BY
Format([Dates],"mm" & " yyyy")
ORDER BY
Format([Dates],"mm" & " yyyy"); :o

HTH
 

Users who are viewing this thread

Back
Top Bottom