Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBC Contained Tables
Message
De
28/04/1999 12:59:24
 
 
À
28/04/1999 09:02:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00212929
Message ID:
00213058
Vues:
26
Hi Kevin.

>Does anybody have some example code to USE a .DBC (ie not OPEN DATABASE) and read from its Property field the table name and path for all contained tables (objecttype = Table)?

You don't need to open the DBC as a table. Just get a array of tables in the DBC using ADBOBJECTS(), then spin through that array and use DBGETPROP() to get the Path property of each table. Don't forget to FULLPATH() this property against DBC() before using FILE() to see if it exists, because the path is stored relative to the location of the DBC.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform