I am trying to do a running sum in a query and have it done on each date (record), but unfortunately the value doesn’t incrementally change on each date. Any ideas? SQL is below:
SELECT [q-LiabFordMotorCredit 30].Date AS DateAlias, [q-LiabFordMotorCredit 30].VendorVendee, Sum([q-LiabFordMotorCredit 30].[Amount$]) AS [SumOfAmount$], [q-LiabFordMotorCredit 30].TransactionMemo, [q-LiabFordMotorCredit 30].TransTypeAbbrev, [q-LiabFordMotorCredit 30].SpendCatagory, [q-LiabFordMotorCredit 30].[Cleared-Rec], [q-LiabFordMotorCredit 30].Balance, DSum(“Amount$”,”q-liabFordMotorCredit 30″,””) AS RunTot
FROM [q-LiabFordMotorCredit 30]
GROUP BY [q-LiabFordMotorCredit 30].Date, [q-LiabFordMotorCredit 30].VendorVendee, [q-LiabFordMotorCredit 30].TransactionMemo, [q-LiabFordMotorCredit 30].TransTypeAbbrev, [q-LiabFordMotorCredit 30].SpendCatagory, [q-LiabFordMotorCredit 30].[Cleared-Rec], [q-LiabFordMotorCredit 30].Balance;
-
running sum in a query (access 2000)
- This topic has 6 replies, 3 voices, and was last updated 21 years, 7 months ago.
AuthorViewing 1 reply threadAuthorViewing 1 reply thread