Reports grouped by months..

endri81

Registered User.
Local time
Today, 10:19
Joined
Jul 5, 2010
Messages
121
Hi
I have data in intervals by 3 months as in file attached where is shown 3month beginning date and ending date.I need to group by 6 month or one year period.
How is this possible?
Regards
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    90 KB · Views: 126
Access 2003.
This is not by my choice but the office where the program will be used have only Access 2003 and no will to change :)
 
Access 2003 is perfectly fine :)

To group by year you use the Year() function to get the year portion of your date field and group on that.

To group by 6 month intervals you would do something like:
Code:
Month([DateField]) < 7
... then group on this field. This will return True (i.e. -1) if the month is between Jan and Jul, and False if it isn't (i.e. 0). So -1 will come before 0.
 

Users who are viewing this thread

Back
Top Bottom