- Local time
- Today, 15:09
- Joined
- Sep 28, 1999
- Messages
- 8,192
I have 3 fields where amounts are entered and a 4th field that should show the total of these 3 fields. Normally, I would use a calculated field but previously this totals field had values entered into it manually.
So, I created some code to total the fields up. Here it is:
Something is not right, because if I delete amounts or enter amounts, sometimes it provides the correct total in the Totals field but sometimes it doesn't. I have code on each after update event for the first 3 fields.
Any idea what the problem might be?
So, I created some code to total the fields up. Here it is:
Code:
[Total Invoiced]=nz([Invoice Amount - Deposit])+nz([Invoice Amount - Balance])+nz([Invoice Amount - Extras bar Amt])
Something is not right, because if I delete amounts or enter amounts, sometimes it provides the correct total in the Totals field but sometimes it doesn't. I have code on each after update event for the first 3 fields.
Any idea what the problem might be?