We help IT Professionals succeed at work.
Get Started

Rolling 12 Month Query

IEHP1 asked
Last Modified: 2012-05-12
I used the following function to pull the records from October of 2010:

POST DATE: DateAdd("m",-13,Left(Date(),2) & "/" & Right(Date(),4))

But I need to pull a Rolling 12 Month query (actually, I need November 2010 through October 2011). I tried putting And and then repeating the function with changing the -13 to a -12 and I was going to do that until -1, but it only returned all records as -1?

I need to know how I can pull this information please.

Thankyou in advance for helping me.
Watch Question
Top Expert 2016
This problem has been solved!
Unlock 1 Answer and 49 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE