Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPT file is corrupt
Message
De
30/06/2008 05:47:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01327586
Message ID:
01327592
Vues:
15
>>>Hi,
>>>
>>>I have got a problem with a FPT file (missing or invalid FPT file ) Does anyone know how to get data from the table with the related FPT. It does not matter if the FPT data disapears..but the DBF table data are important...
>>>I know there is a lot of repair programs - but also a lot that simply does not work on all kind of faults...
>>>
>>>Regards...
>>
>>If you don't mind losing the data in the FPT, I would try
>>lnValidate=Set("TableValidate")
>>SET TABLEVALIDATE TO 0
>>Use yourtable exclusive
>>copy to tempfile
>>zap
>>append from tempfile
>>SET TABLEVALIDATE TO lnValidate
>>NB! Make a backup first, just in case...
>
>Hi Tore,
>
>It worked --- You are a Hero! Thank you for your answer!!!
>
>Kind regards from Bjørn...

You're welcome! And you should be grateful to yourself for using the latest version of VFP since this was not possible with earlier versions.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform