I need to create a query with a rolling sum calculated in it based upon a particular field. Very easy in a spreadsheet but how do I convert it to Access query stuff?
Is it running sum? If yes, add new field RunTot and write syntax something like: SELECT Orders.EmployeeID AS EmpAlias, Sum(Orders.Freight) AS SumOfFreight, Format(DSum("Freight","Orders","[EmployeeID]<=" & [EmpAlias] & "","$0,000.00" AS RunTot
FROM Orders
GROUP BY Orders.EmployeeID;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.