Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00947368
Message ID:
00947371
Views:
15
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform