G
Guest
I need to create a query that shows 2 amounts. The first amount should be
the sum of 'it_amount' where 'it_date' is within the last 12 months from
today's date. The second amount should also be the sum of 'it_amount' but
where 'it_date' is between 12 and 24 months prior to today's date. Therefore
at any given time, I can run the query and identify/compare the amount of
business transacted by any one company during a) the past 12 months and b)
the 12 months prior to that.
Any ideas as to how I can write this as an expression in Access?
the sum of 'it_amount' where 'it_date' is within the last 12 months from
today's date. The second amount should also be the sum of 'it_amount' but
where 'it_date' is between 12 and 24 months prior to today's date. Therefore
at any given time, I can run the query and identify/compare the amount of
business transacted by any one company during a) the past 12 months and b)
the 12 months prior to that.
Any ideas as to how I can write this as an expression in Access?