Microsoft
Software
Hardware
Network
Question : Calculate Running Total in a New Field
I am trying to calculate the running sum and saving the results in a new field either in the same table or a new one.
To help explain, I've attached sample DB with the original table (tblTestData) and the desired output (Desired Output). Basically - for each change in field PARE, calculate the running sum QTY_ONHAND - REQ_QTY and store in field called Balance.
The table is sorted by PART and DUE_DATE.
I've also attached Excel file with function logic used to calculate the desired results. Looking for something similar to do in Access.
Prefer a solution using queries/macros as I am not very strong w/VBA but could manage if it is not too complicated.
Thanks.
Attachments:
Desired-Result.xlsx
(26 KB)
(File Type Details)
Excel File with logic to calculate running total
TestDB3.accdb
(13.7 MB)
(File Type Details)
Sample Access Database with data
Answer : Calculate Running Total in a New Field
This tutorial may be useful
http://www.businessobjects
.com/globa
l/pdf/dev_
zone/
VS200
5_Walkthro
ughs.pdf
mlmcc
Random Solutions
Lotus Notes 6.5 certificate has expired
Configure TFS 2010 with Sharepoint 2010
Thunderbird inexplicably crashing....
worst thing to happen if wireless does not have pw?
Fully Automatic dental milling machines
Random port flapping on Netgear 7248
MacBook Stuck on Shut-Down
vb 6.0 version number
How to locak down Windows 7 PRO workstations
Maxtor Drive getting 'lost'