G
Guest
How do I change the following criteria so that I don't have to go in after
January 1 every year and change the year? The table on which the query is
based continues to contain loans from January of the previous year for awhile
after Jan. 1 of the current year, so my query must make sure that after Jan.
1 2007 (for example) it always excludes loans from January through November
of 2006.
((Month([Date_of_Loan]))=Format(DateAdd("m",-1,Now()),"m"))) AND
((Year([Date_of_Loan))=2006)
Thanks so much!
GwenH
Some of my best leading men have been dogs and horses. ~ Elizabeth Taylor
January 1 every year and change the year? The table on which the query is
based continues to contain loans from January of the previous year for awhile
after Jan. 1 of the current year, so my query must make sure that after Jan.
1 2007 (for example) it always excludes loans from January through November
of 2006.
((Month([Date_of_Loan]))=Format(DateAdd("m",-1,Now()),"m"))) AND
((Year([Date_of_Loan))=2006)
Thanks so much!
GwenH
Some of my best leading men have been dogs and horses. ~ Elizabeth Taylor