Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPT file is corrupt
Message
From
30/06/2008 05:15:08
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01327586
Message ID:
01327587
Views:
25
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform