Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPT file is corrupt
Message
De
30/06/2008 05:15:08
 
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:
01327587
Vues:
26
This message has been marked as the solution to the initial question of the thread.
>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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform