Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading file names into tables
Message
De
29/11/2002 12:01:27
Gaylen Miller
Leaderware Corporation
Fulton, Illinois, États-Unis
 
 
À
29/11/2002 11:48:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00728184
Message ID:
00728193
Vues:
16
Hi David,

One way is to use SYS(2000). See below.
SYS(2000) will return the name of each file in the path you have given, one file name for each pass through the loop. Write the code inside the loop to do whatever you want to do. (Record the file name in a table, and other information about the file by using other SYS() commands.)
______________________________________
pcFileName = (SYS(2000,"*.dbf"))
DO WHILE ! EMPTY(pcFileName)



pcFileName = (SYS(2000,"*.dbf",1))
ENDDO
______________________________________

I hope this helps.
Gaylen Miller
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform