Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List Tables to an Array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00117086
Message ID:
00117236
Views:
19
Hi Preston,

You could use any of the suggestions suggested by Edward, Cetin or David. Moreover, you could also use ADIR() to get all the DBF names into an array.

>Hi,
>
>I'm writing a procedure that I would like to act upon each table within the database. I would like for the procedure to be generic enough that I can run it with a database name as a parameter, then have it collect the names of the tables in the database and perform the procedure for each table. I know I can do this with using Dispaly Tables to a file, then read the file back in to an array, but I am hoping there is a simpler way. A function along the lines of afields maybe? I'd appreciate any ideas or suggestions.
>
>Thanks
>
>-Preston
Previous
Reply
Map
View

Click here to load this message in the networking platform