>I think I would do the first line as
>
>IF BETWEEN(xxx, 1, RECCOUNT(
))...
>
>>
>>if xxx<=reccount()
>> go (xx)
>>else
>> go bottom && or just locate to go to top whatever makes you happy
>>endif
Bill,
You don't address the negative record numbers for buffered appends.