Grouping in Queries

  • Thread starter Thread starter Red
  • Start date Start date
R

Red

Hi ya,

Does anyone know how to group a date field value in a Query so it groups by
month and year only and not by day. For example:

Record 1 Date value = 01/01/04
Record 2 Date value = 15/01/04

will be grouped into one record in resultant query.

Thanks for your help.
 
I usually create an expression like format(myDate, "yymm") and group on
that.
 

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