Hate to beat a dead horse but I've searched every thread and can't figure out one which fits my application. I'm wanting to use a DSum function in a query to calculate a running sum field. Purpose is to consume inventory until it's exhausted and starts going negative. i.e.
Fields:
COMP_ID DUE_DATE REQD STOCK BAL SHORT
PartA 8/26/08 4 6 2 0
PartA 8/27/08 4 6 -2 2
PartA 8/28/08 6 6 -8 6
The BAL field will be the DSum function. Easy enough to do on a report but I need it in the query and don't know anything about VBA. Can you help?
Fields:
COMP_ID DUE_DATE REQD STOCK BAL SHORT
PartA 8/26/08 4 6 2 0
PartA 8/27/08 4 6 -2 2
PartA 8/28/08 6 6 -8 6
The BAL field will be the DSum function. Easy enough to do on a report but I need it in the query and don't know anything about VBA. Can you help?