Claude,
Yes, this would work, but it would be much slower, than produce the file by copy to command and then process this file.
>I've encountered the same condition. What I've done to work around the condition is build a text string from each row of the table adding the tab character (chr(9)) between the fields. You can build a generic funtion to do this.
>
>.
>.
>set order to
>fcreate()
>for r ... to reccount()
> go r
> scatter to array
> for f = 1 to afields()
> mystring = mystring + array(f)
> next f
> fwrite()
>next r
>fclose()
>.
>.
>You get the idea...
>
>
>Wayne Finch
If it's not broken, fix it until it is.
My Blog