Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a free table programmaticaly to SDT
Message
From
27/09/1999 15:57:17
 
 
To
20/09/1999 15:00:53
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00266850
Message ID:
00269599
Views:
20
Hi Sylvain.

Sorry for the delay in my reply -- I was at a conference last week.

>My application create some free tables that I want to be able to repair if they become corrupt. The number of free tables is not fixed and their names are variant. For Repair() to work, all tables should be defined in the SDT database. How can I make SDT repair my free tables?

You can use the Validate method to add the free table to the meta data. Here's an example:
oMeta = newobject('DBCXMgr', 'DBCXMgr', '', .F., '[location of DBCXREG]')
oMeta.Validate('[path and name of free table]', 'Table')
Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform