Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from a text file
Message
De
08/03/2000 06:49:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Appending from a text file
Divers
Thread ID:
00343176
Message ID:
00343176
Vues:
55
I'm am running a process that captures all the text files in a directory. Next, I'm attempting to append from those captured text files into their own separate table. For example,

sele temptble
appen from arrayname fields a, d, e, f delimited
ren temptble to substr(arraryname,1,8)

Then I re-create the table and do it all over again. Until the last file is appended.

The problem is that it's not capturing and appending from the array?

Cany anyone help with this matter?

APPEN FROM (AIMPFILES(I,1))FIELDS CDC_ID, SPECNO, INCDATE, INPROCDATE DELIMITED

SELE TMPTABLE
USE

RENAME TMPTABLE.DBF TO SUBSTR(m.tmpfname,1,8) + '.DBF'

TIA

Jeff T.
Thanks in Advance.

J. Turner
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform