I have developed an accounting db in ms access 2003 but am having a small problem with a part of it.
I have a table tblAccounts with the name of the account, the account ID, openingBalance and the currentBalance fields.
The operations involved are
Money can be withdrawn from the account
Money can be deposited in the account
To handle this I have four tables
tblWithdrawal and tblWithdrawalDetails to handle the withdrawals
tblDeposits and tblDepositDetails to handle the deposits
All the forms are there and update queries to handle the transactions
What I want is the user to view all the transactions and the Balance before the accounts were updated e.g asumming the account balance is $1000 and a withdrawal was done of $100 then a deposit was made of $ 200 then the user will view that the balance was $1000 then $900 and the current balance is $1100.
Short of storing the totals in a table I cant figure how to do this
I have a table tblAccounts with the name of the account, the account ID, openingBalance and the currentBalance fields.
The operations involved are
Money can be withdrawn from the account
Money can be deposited in the account
To handle this I have four tables
tblWithdrawal and tblWithdrawalDetails to handle the withdrawals
tblDeposits and tblDepositDetails to handle the deposits
All the forms are there and update queries to handle the transactions
What I want is the user to view all the transactions and the Balance before the accounts were updated e.g asumming the account balance is $1000 and a withdrawal was done of $100 then a deposit was made of $ 200 then the user will view that the balance was $1000 then $900 and the current balance is $1100.
Short of storing the totals in a table I cant figure how to do this