Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the syntax of append from text file
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
What is the syntax of append from text file
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01310202
Message ID:
01310202
Vues:
60
Hi everybody,

I have a text file of the following format
ABC3333, 23
FDJFDDF, 0
HFHFF, 5
Basically the text file has two values in each row, one character and one numeric. I want to create a cursor with two fields, one character and one numeric (e.g. mycursor (fld1 c(20), fld2 n(10,0)))

Then I want to append the content of the text file into the cursor.
When I do it using the syntax
append from mytext.txt sdf
the entire row goes into the first field (fld1). Is it possible to call APPEND FROM and make it put each segment of the row in the appropriate field?

Thank you in advance for any help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform