Assuming that lnStart and lnEnd contain the RecNo() of the first and last record of the range respectively.
GOTO lnStart
DO WHILE NOT EOF() AND (RecNo() <> lnEnd)
DELETE
SKIP
ENDDO
HTH
>I'm selecting two records in a table so I can copy or delete all the records between each of the selected record. My problem comes when the table is indexed. Is there a way to do this? I'm having a problem determining if the second record is before or after the first record. I'm using 5.0a. TIA