P
Phil Smith
I am trying to use DSUM to create a running total via Method 1 in MS TID
290136.
I am getting an error in my DSUM statement. Very simple query:
SELECT SalesForGraph.Week AS CWeek, SalesForGraph.[2006Profit],
DSum("2006Profit","SalesForGraph","[WEEK] <= " & [Cweek]) AS RunTot
FROM SalesForGraph
ORDER BY SalesForGraph.Week;
The string for Criteria resolves to:
[week] <=1
[week] <=2
etc. What am I doing wrong?
Phil
290136.
I am getting an error in my DSUM statement. Very simple query:
SELECT SalesForGraph.Week AS CWeek, SalesForGraph.[2006Profit],
DSum("2006Profit","SalesForGraph","[WEEK] <= " & [Cweek]) AS RunTot
FROM SalesForGraph
ORDER BY SalesForGraph.Week;
The string for Criteria resolves to:
[week] <=1
[week] <=2
etc. What am I doing wrong?
Phil