Hi all, I am trying to make changes to a database and cannot formulate in my mind a way to do the following process. The database will have a table with many records associated with an ID field which groups specific records. Within these records is a field for “hours proposed”. In this process, someone will look at these hours which span many records and choose to accept them or cut them. They can be cut by a few hours or by many hours. My problem is that say there are 5 records whose “Hours Proposed” sum up to 35 hours. However, 20 hours are in record #1 and the rest are spread across the remaining four records. If the person reviewing these hours decides to cut 10 hours turning the 35 hours into 25 hours, but needs to spread these hours across the same five records in the exact proportion they were originally proposed. How would one go about recalculating how many hpours goes into the same five records so that they add up to 25.
I know this is a very quick and crude explanation of what needs to happen, but I am hoping to get started in the right direction.
Thank You in advance