J
Jan Il
Hi all - Access 2002XP - WinME
I have a form based upon the query below. I have a control in which I wish
to display a running balance of all transactions in date order.
I have tried setting the code for the calculations for this as below,
however, what I am getting is not a running balance, but, the same current
total balance displayed for each transaction date.
SELECT tblSaveAcct.TransactionDate, tblSaveAcct.TransactionType,
tblSaveAcct.WithdrawAmt, tblSaveAcct.DepositAmt, tblSaveAcct.InterestAmt,
tblSaveAcct.Comment, tblSaveAcct.TransactionSign, tblSaveAcct.BeginBal,
Sum(Nz([DepositAmt],0)-Nz([WithdrawAmt],0)+Nz([InterestAmt])+([BeginBal],0))
AS RunningBalance
FROM tblSaveAcct
ORDER BY tblSaveAcct.TransactionDate DESC;
I would truly appreciate any suggestions, or a Help or KB article that might
explain how to achieve a running balance for each transaction date.
Jan
I have a form based upon the query below. I have a control in which I wish
to display a running balance of all transactions in date order.
I have tried setting the code for the calculations for this as below,
however, what I am getting is not a running balance, but, the same current
total balance displayed for each transaction date.
SELECT tblSaveAcct.TransactionDate, tblSaveAcct.TransactionType,
tblSaveAcct.WithdrawAmt, tblSaveAcct.DepositAmt, tblSaveAcct.InterestAmt,
tblSaveAcct.Comment, tblSaveAcct.TransactionSign, tblSaveAcct.BeginBal,
Sum(Nz([DepositAmt],0)-Nz([WithdrawAmt],0)+Nz([InterestAmt])+([BeginBal],0))
AS RunningBalance
FROM tblSaveAcct
ORDER BY tblSaveAcct.TransactionDate DESC;
I would truly appreciate any suggestions, or a Help or KB article that might
explain how to achieve a running balance for each transaction date.
Jan