I have a calculated field in a report that keeps a running dollar total of invoices. The field name in the table is InvoiceAmount and the calculation is =Sum([InvoiceAmount]). Everytime a new invoice amount is entered in a form it automatically updates the report with just the new total dollar figure (i.e. the current total dollar amount of all invoices).
However, I also want to create a second calculated field on the report that will give me the same running total figure as above, but then subtract this total figure from a fixed dollar amount. For example, the FY2010 budget for this particular category is $13,000.00. How can I create a calculated field that will subtract the running total from this fixed amount every time an invoice amount is entered?
The purpose of the calculated field would be to automatically indicate how much is remaining in our budget everytime a new invoice amount is entered into the database (i.e. $13,000.00 minus the sum of all invoices=the result).
I am sure this calculation is possible, but I am unsure how to write the calculation itself. Can anyone help? Thanks in advance.
Gary
HOuston, TX
However, I also want to create a second calculated field on the report that will give me the same running total figure as above, but then subtract this total figure from a fixed dollar amount. For example, the FY2010 budget for this particular category is $13,000.00. How can I create a calculated field that will subtract the running total from this fixed amount every time an invoice amount is entered?
The purpose of the calculated field would be to automatically indicate how much is remaining in our budget everytime a new invoice amount is entered into the database (i.e. $13,000.00 minus the sum of all invoices=the result).
I am sure this calculation is possible, but I am unsure how to write the calculation itself. Can anyone help? Thanks in advance.
Gary
HOuston, TX