S
SteveS
Hello,
I have created a Union Query to consolidate results from separate queries,
each one of which represents results for a single month:
SELECT ReportMonth, MonthlyRev, MonthlyCost
FROM qryMonth1Total
UNION
SELECT ReportMonth, MonthlyRev, MonthlyCost
FROM qryMonth2Total
UNION
SELECT ReportMonth, MonthlyRev, MonthlyCost
FROM qryMonth3Total;
etc.
This works very well for showing me monthly revenues vs. costs. However, I
would also like to be able to create a similar Union Query that shows a
running sum of the monthly revenue and costs. (Note: for reasons I won't get
into here, I have to have each month's data in its own query.)
Is it possible in a Union query to add, for example, [MonthlyRev] from
qryMonth1Total into [MonthlyRev] qryMonth2Total, then the new total from
qryMonth2Total into [MonthlyRev] qryMonth3Total, etc. to give me the running
total I'd like to see?
Thanks!
P.S. Relatively new (and self-taught) in Access, so the simpler the better.
I have created a Union Query to consolidate results from separate queries,
each one of which represents results for a single month:
SELECT ReportMonth, MonthlyRev, MonthlyCost
FROM qryMonth1Total
UNION
SELECT ReportMonth, MonthlyRev, MonthlyCost
FROM qryMonth2Total
UNION
SELECT ReportMonth, MonthlyRev, MonthlyCost
FROM qryMonth3Total;
etc.
This works very well for showing me monthly revenues vs. costs. However, I
would also like to be able to create a similar Union Query that shows a
running sum of the monthly revenue and costs. (Note: for reasons I won't get
into here, I have to have each month's data in its own query.)
Is it possible in a Union query to add, for example, [MonthlyRev] from
qryMonth1Total into [MonthlyRev] qryMonth2Total, then the new total from
qryMonth2Total into [MonthlyRev] qryMonth3Total, etc. to give me the running
total I'd like to see?
Thanks!
P.S. Relatively new (and self-taught) in Access, so the simpler the better.