Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to create delimited file with non-standard deli
Message
From
13/11/2001 12:41:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/11/2001 12:31:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00580703
Message ID:
00580973
Views:
16
David,
To be sure just tried again with exactly these lines :
use employee
COPY TO dsstemp.txt TYPE DELIMITED WITH "" WITH CHARACTER "~"
It errors 'Command contains unrecognized phrase/keyword. If I make it :
COPY TO dsstemp.txt TYPE DELIMITED WITH " " WITH CHARACTER "~"
It works inserting a space instead of doublequotes.
Cetin

>Cetin,
>
>Hmmm... I ran this code last night and it worked just fine with no syntax error.
>
>>>
>>>COPY TO dsstemp.txt TYPE DELIMITED WITH "" WITH CHARACTER "~"
>>>STRTOFILE(STRTRAN(FILETOSTR('dsstemp.txt'), '~', '|^'),'dsstemp.txt')
>>>MODI FILE dsstemp.txt
>>>
>>
>>David,
>>During FoxyClasses importer creation I played with this a lot and unfortunately it syntax errors. If you put a space in quotes it works but than extra spaces are inserted.
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform