Try using the PACK command on the data file, if it is getting
corrupted from crashes, it would cause that error.
hth Becky
>Hi John.
>
>>This error comes up occasionally in an application which I have written. It happens when reindexing the file.
>
>This generally happens when a workstation crashes or is rebooted without properly exiting FoxPro. The problem is almost always very simple: the blocksize byte in the FPT header gets set to 0, which is an invalid value. The fix is also simple: open the FPT with FOPEN, FSEEK to the blocksize byte, and replace it with the correct value (usually 64).
>
>Doug
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only