Wednesday, July 16, 2008

Call to NextRecord after a call to DeleteRecord

DeleteRecord moves the record pointer automatically to the next record in the record set. The record pointer will move twice if a call to NextRecord is made after a call to DeleteRecord. The consequence is that just every 2nd record will be deleted because a record will be skipped.
So we need to be more cautious while designing such scripts.

No comments: