(Acess 97) I am having trouble recalculating and updating census records based on changing values. Census is determined by Date, Unit, Admits, Discharges, etc. Everyday you have a BeginCensus and EndCensus total (adding and subtracting the admits and discharges) for each day, by unit. The EndCensus for today will be the BeginCensus for tomorrow, again, by unit. The original data is imported in (table is overwritten everyday), all fields calculated and appended to a summary table ordered by census date and unit. However, days later we may get admits and discharges that were missed and now need to be added to the summary table for that date/unit. I am having trouble recalculating/updating the BeginCensus and EndCensus totals for each record that follows that CensusDate. For example,
CensusDate Unit BeginCensus Admits Dschgs EndCensus
1/1/08 4100 30 5[6] 3 32[33]
1/2/08 4100 32[33] 3 4[6] 31[30]
1/3/08 4100 31[30] 3 1 33[32]
On 1/5/08 you get 1 additional Admit for CensusDate 1/1/08 and 2 Dschgs for 1/2/08. Values need to be recalculated/updated for each following date to current in the table for that unit (recalc values in braces). I can update values for that date, but am having difficulty updating the following records…
CensusDate Unit BeginCensus Admits Dschgs EndCensus
1/1/08 4100 30 5[6] 3 32[33]
1/2/08 4100 32[33] 3 4[6] 31[30]
1/3/08 4100 31[30] 3 1 33[32]
On 1/5/08 you get 1 additional Admit for CensusDate 1/1/08 and 2 Dschgs for 1/2/08. Values need to be recalculated/updated for each following date to current in the table for that unit (recalc values in braces). I can update values for that date, but am having difficulty updating the following records…