>Left_T (in left grid) Right_T (in right grid) >--------------------------------------------------------------------------------- >01 L1 l2 ... R1 R2 .... 01 > R3 R4 .... 01 >02 L3 L4 ... R5 R6 .... 02 > R7 R8 .... 02 > R9 R10 .... 02 > R11 R12 .... 01 >03 L4 L5 ... R13 R14 .... 03 > R15 R16 .... 03 > >Now record R11 R12 ... 01 must be removed behind R3 R4 ... 01 >You didn't give cursor creation code and it's still not very understandable. Maybe you mean something like: