Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC Contained Tables
Message
From
28/04/1999 12:59:24
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00212929
Message ID:
00213058
Views:
27
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform