Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading file names into tables
Message
From
29/11/2002 12:01:27
 
 
To
29/11/2002 11:48:10
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00728184
Message ID:
00728193
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform