Thanks, Sergey. It was not obvious to me, but I found it just by experimenting, then checked Help and Hackers Guide...
So, I just added saving and restoring position in the AutoBackup procedure...
>It depends on the scope of command and WHILE and FOR clauses. COPY NEXT nnn will move pointer to +nnn record from the current. COPY WHILE will move pointer to the first record that doesn't satisfy WHILE criteria and so on. It's no different from any other command that works with table, like SCAN for example.
>
>>Hi everybody,
>>
>>I didn't find anything saying that copy to command (to a table) moves record pointer of the original table to EOF in VFP Help or in Hackers Guide. It does it, though (and it's logical too).
>>
>>Thanks.
If it's not broken, fix it until it is.
My Blog