>>>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... while recno()<=lnRecno.
>
>Wouldn't work because table may not be in physiacl order.
Right. I think my other solution with a bit of execscript would solve for both the ordering and filtering... though your (with a skip) is obviously simpler.