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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only