Group by using Date field

M

Mark R.

Is there an expression I can use to group by using a Date
field that will group using only the Month and Year (not
the day)? Also can it be done using one field rather than
splitting them into two?

Thanks!
 
A

Angie

-----Original Message-----
Is there an expression I can use to group by using a Date
field that will group using only the Month and Year (not
the day)? Also can it be done using one field rather than
splitting them into two?

Thanks!
.
Here is how I do it. Create a field in the query with the
following expression. CDate(Format(
![field
name], "mm/yyyy")) You will be able to group by that and
it will be in date format.
 

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