MarkDeleted marks the specified record as deleted (*).
var dbf :integer; r :integer; begin dbf := OpenBase( 'filename.dbf' ); if dbf <> 0 then begin for r := 0 to RecCount(dbf)-1 do MarkDeleted(dbf, r); CloseBase(dbf); end; end.