Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Merge Text
Message
De
08/11/2004 17:02:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Merge Text
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00959378
Message ID:
00959378
Vues:
35
I have a directory where text files accumulate. I'm looking for away to read how many text files are in the directory and then merge into one file. Each text file comes in with different names. The below is what I have but it keeps reading and inserting the same record, it won't read the next. Direction appreciated.

gnNumber = ADIR(gaText, '*.txt')

FOR i = 1 TO gnNumber
? STRTOFILE(FILETOSTR(gaText), "orders.txt",.t.)
ENDFOR
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform