Before I attempt to write a program for this, has anyone ever tried to keep a running balance on a query, and at the same, change the balance fields, for instance:
The goal is to take JOE, ID 1, subtract that amount from JOE ID A, giving JOE ID A new balance of 75.00. Since JOE ID A still has a balance, then subtract JOE ID 2, from new balance in JOE ID A, which would ZERO out JOE ID A, plus leave a negative balance of -50. I would need to take the new JOE A, add that into JOE B, to reduce JOE B to 50.
So the outcome should now look like:
Maybe too complicated for Access. Just wondering.
Thanks in advance.
Code:
INPUT DATA:
NAME AMT ID
JOE 125.00 1
JOE 125.00 2
JOE 200.00 A
JOE 100.00 B
The goal is to take JOE, ID 1, subtract that amount from JOE ID A, giving JOE ID A new balance of 75.00. Since JOE ID A still has a balance, then subtract JOE ID 2, from new balance in JOE ID A, which would ZERO out JOE ID A, plus leave a negative balance of -50. I would need to take the new JOE A, add that into JOE B, to reduce JOE B to 50.
So the outcome should now look like:
Code:
NAME AMT ID
JOE 125.00 1
JOE 125.00 2
JOE 0.00 A
JOE 50.00 B
Maybe too complicated for Access. Just wondering.
Thanks in advance.