Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO command
Message
From
29/09/2004 20:20:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/09/2004 20:13:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00947368
Message ID:
00947369
Views:
13
>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

You can use the FIELDS list:
use MyTable
copy to Table2 fields Field1, Field2
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform