>Hello,
>
>How to use COPY TO command from my table.dbf ?
>
>mytable.dbf
>
>field1 field2
>
>aaaaaa bbbbbb
>cccccc dddddd
>
>to have the output exactly the same as input without any lines before or
>after the fields and also no column before the field1 too.
>_____________
>aaaaaa bbbbbb
>cccccc dddddd
>
>
>Any help will be greatly appreciated
>
>TIA
Look at the help on the COPY TO command. There are a number of options, which may or may not meet your needs. For example
COPY TO < filename > FIELDS field1, field2 TYPE SDF
will yield
aaaaaabbbbbb
ccccccdddddd
that can easily be appended into a table. Other options, such as DELIMITED WITH, yield different results.
George
Ubi caritas et amor, deus ibi est