grouping on Month and year

  • Thread starter Thread starter Alex H
  • Start date Start date
A

Alex H

I have a table with a date field in ddmmyy. I need to extract a couont of
the number of records for each month and year - eg May 2005, June 2005 etc.

Is this possible please

Thanks
A
 
Alex

Look into Access HELP on the Month() and Year() functions. You'd use
Month([YourDateField]) in one query field and Year([YourDateField]) in a
second, then GroupBy (totals query) these two and use the Count for a third
(perhaps on your recordID field).
 
Thanks Jeff

Alex


Jeff Boyce said:
Alex

Look into Access HELP on the Month() and Year() functions. You'd use
Month([YourDateField]) in one query field and Year([YourDateField]) in a
second, then GroupBy (totals query) these two and use the Count for a
third
(perhaps on your recordID field).

--
Good luck

Jeff Boyce
<Access MVP>

Alex H said:
I have a table with a date field in ddmmyy. I need to extract a couont
of
the number of records for each month and year - eg May 2005, June 2005 etc.

Is this possible please

Thanks
A
 

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

Back
Top