Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to Txt file with just a delimiter
Message
De
21/10/2014 09:28:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609578
Message ID:
01609710
Vues:
48
>Hi Doris. Thanks for your reply
>
>When I do :
>copy to MyText delimited with character '|' ........ I get each fields separated by | and DoubleQuote as in "JoeBloggs"|"Boston"|"USA"|
>
>copy to MyText delimitied with '|' ... I get each field enclosed in | | and separated by a comma as in |Joe Bloggs|,|Boston|,|USA|
>
>Still cannot get anything t produce ----> Joe Bloggs|Boston|USA| i.e. Each field separated by --> |

If you're willing to make it a two step process, use DELIMITED WITH (some character you KNOW isn't in the data) and then use STRTOFILE(STRTRAN(FILETOSTR(filename), (that character) ,'|'), filename). (Hope I got that right...)

Chris.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform