Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPT file is corrupt
Message
From
30/06/2008 05:47:59
 
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:
01327592
Views:
14
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform