Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to create delimited file with non-standard deli
Message
De
13/11/2001 12:41:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/11/2001 12:31:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00580703
Message ID:
00580973
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform