Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Low level file function
Message
From
08/01/2001 21:15:21
 
 
To
08/01/2001 20:51:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00460942
Message ID:
00460957
Views:
10
>I cannot use COPY TO temp TYPE CVS command because I need to insert a blank line between record.

Why not create a new cursor from the table, record by record and add a blank one after everyone, then export that?

Otherwise, after the export do something like:

StrToFile(StrTran(FileToStr('myfile.txt'), chr(13) + chr(10), chr(13) + chr(10) + chr(13) + chr(10)), 'myfile.txt')

Load the file into a String, replace all the end of lines with 2 end of lines and shove itback to the file.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform