I don't know anything about databases, but I'm learning quickly...in short, this is what I have.
A situation where a county council has many jobs that it contracts out, so there are lots of contracts which constitute individual records on a table. I have a form that is used to enter new records and one to update them by searching for the correct record. It has information like the Contract, contractor, date etc. Then I have a sub-form that is responsible for payments. Its correctly linked (hurray!). The sub form is designed to have multiple entries reflecting multiple payments made on each contract in a one to many relationship. So far so good.
However, now I want to format one of the fields in my sub form to total all of the previous entries in one of the other fields....so that each time a new payment is made, the new cumulative amount is reflected in that field. I need for the payments department to be able to quickly enter the amount of the cheque they are about to release and have the cumulative amount show them how much they would have paid on that contract to date to ensure that they don't overpay contracts. What is the best/simplest way to go about this?
A situation where a county council has many jobs that it contracts out, so there are lots of contracts which constitute individual records on a table. I have a form that is used to enter new records and one to update them by searching for the correct record. It has information like the Contract, contractor, date etc. Then I have a sub-form that is responsible for payments. Its correctly linked (hurray!). The sub form is designed to have multiple entries reflecting multiple payments made on each contract in a one to many relationship. So far so good.
However, now I want to format one of the fields in my sub form to total all of the previous entries in one of the other fields....so that each time a new payment is made, the new cumulative amount is reflected in that field. I need for the payments department to be able to quickly enter the amount of the cheque they are about to release and have the cumulative amount show them how much they would have paid on that contract to date to ensure that they don't overpay contracts. What is the best/simplest way to go about this?