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:52:54
 
 
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:
00580984
Views:
17
Cetin,

Obviously they fixed it in VFP7, because it works there, a nice improvement for cases like this.

>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
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform