Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comma delimited
Message
From
22/09/2000 23:29:43
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00420044
Message ID:
00420146
Views:
16
Ryan,

>I have been asked to take the data in a table and turn it into an ASCII comma delimited text file. Does anyone know how this can be done?

USE mytable
COPY TO myfile TYPE DELIMITED

This creates myfile.txt, which is comma-delimited. You can specify the file extension if you want, but otherwise it defaults to .txt. If you need less than the entire file, you can set a filter before the COPY, or add a FOR clause on the COPY command.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform