Out of Period

danassef

New member
Local time
Today, 00:57
Joined
Dec 28, 2006
Messages
7
The 1st of each month I have to do a report that showes the number of cases closed the previous month and I have the following criteria in my query in my date entered field: >=DateSerial(Year(Date()),Month(Date())-1,1) And <DateSerial(Year(Date()),Month(Date()),1). This gives me all cases closed the previous month (for March it would show me all cases closed for Feburary).

I also have to track all the cases from 1-1-06 to the month prior to the previous month mentioned above, January in this case. For March my report needs to show all cases closed from 1-1-06 to 1-31-07. I would like to automate this so that my query knows to look for all cases from 1-1-06 upto and including the the month prior to the previous month of my report.
 
can you rephrase your question, I'm not quite getting what you need?
 
It looks to me like your criteria would not work in any January. Are you talking about two different reports?
 

Users who are viewing this thread

Back
Top Bottom