Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Repair Meta Data Tables?
Message
From
24/06/1999 12:27:26
 
 
To
23/06/1999 18:04:46
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00233253
Message ID:
00233546
Views:
39
Hi Bob.

>In normal use of VFE 6.0 every now and then I get the vfemeta.fpt is not found or valid... it is my understanindg that SDT can fix this error, but since vfemeta is a free table I can't seem to get it to happen. Is it possible to use SDT to repair vfemeta.fpt?

Treat this as any other table; IOW, create some meta data from a good copy,
then use Repair. You can do this all programmatically: instantiate DBCXMgr
in "auto-create meta data" mode, validate a good copy of the table,
overwrite the good copy with the bad copy, then repair.

oMeta = newobject('DBCXMgr', 'DBCXMgr', '', .F., '', .T.)
oMeta.RegisterManager('Stonefield Database Toolkit', ;
', 'SDT.VCX', 'SDTMgr')
oMeta.Validate('VFEMETA.DBF', 'Table')
copy file BAD\VFEMETA.* to VFEMETA.*
oMeta.oSDTMgr.Repair('VFEMETA')

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform