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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement