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:44:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
13/11/2001 12:41:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00580703
Message ID:
00580978
Views:
15
David,
It works as you say under VFP7
Cetin
>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
Reply
Map
View

Click here to load this message in the networking platform