Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append From difficulties
Message
De
27/07/2005 11:05:30
Scott Sherman
Puyallup Tribal Health Authority
Tacoma, Washington, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Append From difficulties
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01036240
Message ID:
01036240
Vues:
53
I am trying to append data from a tab delimited file where some of the fields are empty and there happens to be some commas in a few of the fields. I can use the import wizard and it works fine. It appears that the append function is having a problem with consecutive tabs follows by a string in double quotes that has a comma in the string. The result is the field is moved to the left one field and everything of off after that. I have included a sample line of data with the problem. I am appending into a nine field table with all character fields. I have also included the line of code that I am using and an small display of what should happen and what is happening.

SS Lori N "12 13th Pl, #236" Redmond WA 98052 SoSi


APPEND FROM (textFileName) TYPE DELIMITED WITH " WITH CHARACTER TAB

field should actual
1 SS SS
2
3 Lori N Lori N
4 12 13th Pl, #236
5 12 13th Pl, #236 Redmond
6 Redmond WA
7 WA 98052
8 98052 SoSi
9 SoSi

Please and thank you,

Scott Sherman
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform