Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with memo (FPT)
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Trouble with memo (FPT)
Miscellaneous
Thread ID:
00149592
Message ID:
00149592
Views:
54
Hi folks

The VFP 6 documentation says that if a memo file is corrupt, you can replace the fpt file with another valid fpt file. The problem I'm having is that after replacing the fpt file,

then packing the file
then close the file
then use the file again

I get the VFP dialog to Repair a damaged memo file. Any help or ideas on how to completely replace the FPT file would be helpful.

Here are the steps to reproduce the problem...

create table mytable (name C(20), notes M, dob D)

* now, manually add a few records

* now make a copy of the table and zap it so to create an empty fpt file

COPY TO mytable2
USE && close the table

USE mytable 2
ZAP
USE

* In Windows Explorer, delete the mytable.fpt file. Rename
* the mytable2.fpt to mytable.fpt

* Now reopen the file, pack, close the file and open it

USE mytable
PACK
USE
USE mytable

* At this point the repair dialog appears.
Next
Reply
Map
View

Click here to load this message in the networking platform