Erase so slowly...
Erase so slowly...
(OP)
Hi all people!
When I do a loop to do the delete records in c55,60, the command it is very very slow. There is way of accelerating it? Normally I use it this way:
STREAM(TABLE)
LOOP
NEXT(TABLE)
RELATE:DELETE(0)
.
FLUSH(TABLE)
Thanks & regards!
Eduardo
Mendoza - Argentina
When I do a loop to do the delete records in c55,60, the command it is very very slow. There is way of accelerating it? Normally I use it this way:
STREAM(TABLE)
LOOP
NEXT(TABLE)
RELATE:DELETE(0)
.
FLUSH(TABLE)
Thanks & regards!
Eduardo
Mendoza - Argentina
RE: Erase so slowly...
you can try this way:
SET(Table:KeyID,Table:KeyID)
LOOP
IF ACCESS:Table.Next() THEN BREAK.
ACCESS:Table.DeleteRecord(0)
END
cagiv