Dear Todd:
Here is the code for your query, using a correlated subquery to
perform the running sum:
SELECT SeqDate, WPB, Num200Needed,
(SELECT SUM(Num200Needed) FROM ForecastTBL T1
WHERE T1.SeqDate <= T.SeqDate)
FROM ForecastTBL T
ORDER BY SeqDate;
Please note that you can do this in a report without the query work,
and it is faster there. But if you really require it as a query,
there it is.
Notice that when more than one row has the same SeqDate then they all
add in simultaneously. That is because the ordering of the query is
only by SeqDate, so multiple rows with the same SeqDate are not in any
particular order, and cannot be distinguished. Adding another column
to the ordering of the rows and to the subquery so the ordering is
unique could change this.
Tom Ellison
Microsoft Access MVP
Ellison Enterprises - Your One Stop IT Experts