Aye but FOR doesn't care, not so? KMe off home now.
>Since the table is sorted, one must use WHILE, which works up to (but not including) the current record.
>
>>>>Sergey's suggestion (in an earlier message) looked like this:
>>>>
lnRecno = RECNO()
>>>>GO TOP
>>>>COPY TO ... WHILE RECNO() <> lnRecno
>>>>
>>>>and this works just fine, other than missing the current record. I can correct for this by doing a SKIP first.
>>>
>>>Simpler... .
>>
>>I would have thought "FOR recno()<=lnRecno" ???
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.