I need to write a query to show me all records that are older than the current year and the last current year that never has to be updated.
I currently have one for month, but need one for year as well.
Right now I want my query to show anything older than 01/01/2007 because it was not placed this year and anytime last year.
Thank you all.
I currently have one for month, but need one for year as well.
Code:
Year(Date())*12+DatePart("m",Date())-1
Right now I want my query to show anything older than 01/01/2007 because it was not placed this year and anytime last year.
Thank you all.