Just add a slight modification of Yuri's code (I always use this precaution in my code):
lnNewRec = m.lnCurRec+1
if between(m.lnNewRec, 1, reccount())
goto m.lnNewRec
else
go bottom
endif
>I know that, but I need to move to EOF().
>When I use GO BOTTOM I use SKIP 1 to move to EOF(), but if I use GO nLastRec + 1 it would generate error.
>
>
>>Instead of skip you can use:
>>ln=recn()+1
>>go (ln)
>>
>>>Is there some way to ignore index order when I use SKIP command?
>>>
>>>I want always next record by number, not by index order.
If it's not broken, fix it until it is.
My Blog