Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Tables to an Array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00117086
Message ID:
00117236
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform