I am relatively inexperienced working with Access and am putting together a budget database for work. I built a query to display the amount of each line in the annual budget, the sum of the expenses against them, and added a calculated field to display the remaining balance (Budget - Total of expenses). The expression I used in the calculated field is: PO/Contract Balance: [Contract/PO Amount]-[SumOfInvoice Amount] where "Invoice Amount" is a field name in my expenses table. The part that has me confused is that this ultimately produces the correct result (below) however SumOfInvoice Amount is being treated as a parameter which is causing issues for me when producing reports in that the SumOfInvoice Amount column is blank even though PO/Contract Balance continues to calculate and display correctly. Been banging my head on my desk for a day now so any help is greatly appreciated. Thank you in advance!
Vendor Name Contract/PO # Contract/PO Amount SumOfInvoice Amount PO/Contract Balance Vendor1 PO1 $50,000.00 $8,000.00 $42,000.00 Vendor2 PO2 $25,000.00 $3,500.00 $21,500.00 Vendor5 Contract5 $10,000.00 $250.00 $9,750.00 Vendor6 Contract6 $5,000.00 $1,200.00 $3,800.00