General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
FPT next free block
Hi All,
We occasionally encounter a problem with an FPT file which will cause an error when the relevant table is opened from the EXE but when opened from the command window appears OK. Oddly, just the act of opening in the command window automatically means that subsequent access from the EXE is OK.
I've discovered that opening such a damaged table from the command window changes the value of the third byte of the FPT header (part of the 'Location of next free block') - so it appears there is some sort of automatic correction going on.
I figure if VFP can work out what the next free block value should be then I should be able to do the same but can't find any info on this (except what VFP help says on 'Memo file structure'). Anyone know how it's done ?
Regards,
Viv
Next
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