I am trying to design a query that will return tranactions in my current accounting year.
So I have the accounting year start date, 1/4/2007 in a table called accounting_year.
The Accounting year will run from the the Year Start Date to 31/3/2008 in this case.
I am using DATEPART(Month,TranactionDate) = @iCurrentMonth to enable me to select any months data within the current accounting year.
So the bit I am having trouble working out is how do I make the query select months within the accounting year,
Any Help Appreciated
Thanks


Reply With Quote

Bookmarks