View Single Post
  #1 (permalink)  
Old September 20th, 2006, 09:50 PM
anterior anterior is offline
Authorized User
Points: 146, Level: 2
Points: 146, Level: 2 Points: 146, Level: 2 Points: 146, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2006
Location: melbourne, VIC, Australia.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default query Current Month, Month+1, Month+2, Month+3

I am trying to generate a report which displays data from an Invoicng Table.
The table contains date time field (as "mmmm\ yyyy")
The table has old data going back more than 12 months plus data which is dated for future invoicing (more than 12 months forward).

I need to generate reporting of future 6 months, and need the report columns to automatically reflect

Current Month
Current Month+1
Current Month+2
etc..

I can use date part to add 1 month, 2 months, 3 months. but run into trouble where the year changes.

Any help would be greatly apprecited.

Dave
Reply With Quote