Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Erase so slowly...

Status
Not open for further replies.

edc000

Programmer
Mar 4, 2011
28
0
0
AR
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
 
Hi,

you can try this way:

SET(Table:KeyID,Table:KeyID)
LOOP
IF ACCESS:Table.Next() THEN BREAK.
ACCESS:Table.DeleteRecord(0)
END

cagiv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top