Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COPY TO (FileName) DELIMITED WITH BLANK
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00528283
Message ID:
00528441
Views:
12
Yes, but it doesn't work for TAB delimited files. See Removing double quotes from tab delimited file FAQ #8016 for workaround.

>Maybe I am missing something here but the equivalent commnad in VFP for that kind of behavior is
>
>COPY TO (FileName) DELIMITED WITH " " WITH CHARACTER " "
>
>Hope this helps.
>
>>>The FP DOS COPY TO (FileName) DELIMITED WITH BLANK command does not put double quotes around character fields as advertised in the help file. That problem has been fixed in VFP. I am converting a program from DOS to VFP that uses the broken COPY TO command. Does anyone know how to create a COPY TO command in VFP that emulates the old DOS commnad?
>>>
>>>Thank you.
>>
>>Hi Dennis,
>>
>>That's not an easy task, unfortunately, if you have huge files. I have a FAQ here how to do it for huge files (more than 16MB). For small files you can use strtofile filetostr approach showed by John Koziol. I believe David Frankenbach have another solution on his site (see link from my FAQ).
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform