How do I query October 1 previous year to September 30 of the current year.
T turks67 via AccessMonster.com Aug 12, 2009 #1 How do I query October 1 previous year to September 30 of the current year.
T Tom van Stiphout Aug 12, 2009 #2 On Wed, 12 Aug 2009 14:13:11 GMT, "turks67 via AccessMonster.com" You could use the DateSerial function e.g. DateSerial(Year-1, 10,1) is Oct-1 in the previous year. -Tom. Microsoft Access MVP
On Wed, 12 Aug 2009 14:13:11 GMT, "turks67 via AccessMonster.com" You could use the DateSerial function e.g. DateSerial(Year-1, 10,1) is Oct-1 in the previous year. -Tom. Microsoft Access MVP
K KARL DEWEY Aug 12, 2009 #3 So on 2 Jan you would only get 3 months of data or do you want the previous FY?
T turks67 via AccessMonster.com Aug 12, 2009 #4 I would like to get the previous FY. KARL said: So on 2 Jan you would only get 3 months of data or do you want the previous FY? Click to expand...
I would like to get the previous FY. KARL said: So on 2 Jan you would only get 3 months of data or do you want the previous FY? Click to expand...
K KARL DEWEY Aug 12, 2009 #5 Try this -- Between DateSerial(Year(DateAdd("m",3,Date()))-2, 10,1) AND DateSerial(Year(DateAdd("m",3,Date()))-1, 9, 30)
Try this -- Between DateSerial(Year(DateAdd("m",3,Date()))-2, 10,1) AND DateSerial(Year(DateAdd("m",3,Date()))-1, 9, 30)