If your accounting year starts on the first day of a month then you can
subtract the number of months so that the quarter is returned on the basis of
the calendar year, e.g. for an accounting year starting 1 April.
DatePart("q",DateAdd("m",-3, [TransactionDate]))
For an accounting year starting on a day other than the first of a month,
e.g. the UK fiscal year starting on 6 April you'd have to subtract the days
as well:
DatePart("q",DateAdd("d",-5,DateAdd("m",-3, [TransactionDate])))
Ken Sheridan
Stafford, England
pctaltom said:
Can you re-define the dates for the "Quarters". I would like to define the
quarters per our compnaies physcal year vs. the standard calander year.