Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Repair Meta Data Tables?
Message
De
24/06/1999 12:27:26
 
 
À
23/06/1999 18:04:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00233253
Message ID:
00233546
Vues:
41
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform