J
Jacques
I'm trying to get a query to do a running sum. What's happening is, I have
two queries:
Query 1 = Select Query that totals most of the fields and sums the Hours
field
Query 2 = pulls from Query 1 and puts the data in crosstab with the
MonthYear as the column headers
The value is the SumOfHours pulled from Query 1
What I need is for Query 1 to give me a running total/running sum per month,
so that the end report can be a spreadsheet with the MonthYear as column
headers in the report.
I've seen where the DSum function on Microsoft's site will supposedly do a
running sum in a query, but the explanation they give for using the DSum
function never works for me.
Can anyone show me how to write it correctly, or better yet, show me another
way to make a query do a running sum.
Thanks beforehand,
Jacques
two queries:
Query 1 = Select Query that totals most of the fields and sums the Hours
field
Query 2 = pulls from Query 1 and puts the data in crosstab with the
MonthYear as the column headers
The value is the SumOfHours pulled from Query 1
What I need is for Query 1 to give me a running total/running sum per month,
so that the end report can be a spreadsheet with the MonthYear as column
headers in the report.
I've seen where the DSum function on Microsoft's site will supposedly do a
running sum in a query, but the explanation they give for using the DSum
function never works for me.
Can anyone show me how to write it correctly, or better yet, show me another
way to make a query do a running sum.
Thanks beforehand,
Jacques