Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List if free tables in data-dictionary
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00903098
Message ID:
00903206
Views:
13
Hi Thomas.

>I started using the sdt and now I want to find the best way to get a list (array) of all free tables in the data-dictionary. What I found out was use the coremeta.dbf and use a select of all records which are crectypwe T and having cdbcname empty. But I am asking myself if there is a better way.

The DBCXGetAllObjects method of DBCXMgr is really handy for filling an array of all objects of a certain type from the meta data. Here's an example that will fill the specified array with all free tables:
dimension laTables[1]
lnTables = oMeta.DBCXGetAllObjects('!Table', @laTables)
Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform