skwilliams
Registered User.
- Local time
- Today, 08:06
- Joined
- Jan 18, 2002
- Messages
- 516
I have a form containing the fields: Date, TransactionNo, Charge, Payment, Balance and PrvBal. The primary key field "pkAuto" isn't on the table. The subform was created as tabular. I would like to calculate each new balance as Balance=PrvBal+Charge-Payment which would be setup like a statement with a running total balance.
I have entered the DLookup Function to be called in the Payment_Exit procedure. My problem here is the first record cannot retrieve the previous balance so it needs to calculate Balance=Charge-Payment.
Attached is the db file.
Any help is greatly appreciated.
Thanks.
I have entered the DLookup Function to be called in the Payment_Exit procedure. My problem here is the first record cannot retrieve the previous balance so it needs to calculate Balance=Charge-Payment.
Attached is the db file.
Any help is greatly appreciated.
Thanks.