A method and system for modifying a dynamic table within an array includes
inserting or deleting one or more records from the table while
maintaining the integrity of subsequent tables within the array. The
method first determines which subsequent tables at least partially
overlap the boundary of the modified table, wherein the overlapping
portions are shifted by the changes to the modified table. Next, the
invention shifts the non-overlapping (unaltered) portions of the
subsequent tables so that the two separate portions of the subsequent
table are properly aligned and the integrity of the data within the
subsequent table is maintained. In the case where data records are
deleted from the modified table, the method first determines if a shift
of the non-overlapping portions of the subsequent data would compromise
any existing cell data within the array and then adjusts both the
overlapping and the non-overlapping portions in order to reintegrate the
entire subsequent table.