Hi,
I'm trying to recover data from a corrupt memo file. The FPT file is bloated (1.5Gb). I've tried packing...no good. Now I can still open the table in Foxpro 7. When I navigate to troublesome memo fields, I get a Fatal Error and get kicked out of Foxpro. However, most of the records are still intact. I can certainly see the memo fields' contents in record 1 and they all seem fine.
So, I've actually written two programs to look into the content of both the DBF and FPT files. I seem to be reading the blocks in the FPT file correctly. As far as I can tell, I'm getting the content of the 4 bytes in the memo field of the DBF correctly as well. There is a consistency among the several memo fields I have retrieved.
I understand that these bytes are inverted. So, for example, the DBF has a street address stored in a memo field. The first record content in this field is: 01 71 EA 51. My question is: How should I interpret this number (or address)?
I assumed that it would be an offset to the memo block in the FPT file. However, when I use HexEdit to look at the content of the memo file, if I go to that address, I'm in the middle of another completely unrelated memo block.
So, can anyone help me understand what that 4-byte number refers to?
Thanks,
Ron
I'm trying to recover data from a corrupt memo file. The FPT file is bloated (1.5Gb). I've tried packing...no good. Now I can still open the table in Foxpro 7. When I navigate to troublesome memo fields, I get a Fatal Error and get kicked out of Foxpro. However, most of the records are still intact. I can certainly see the memo fields' contents in record 1 and they all seem fine.
So, I've actually written two programs to look into the content of both the DBF and FPT files. I seem to be reading the blocks in the FPT file correctly. As far as I can tell, I'm getting the content of the 4 bytes in the memo field of the DBF correctly as well. There is a consistency among the several memo fields I have retrieved.
I understand that these bytes are inverted. So, for example, the DBF has a street address stored in a memo field. The first record content in this field is: 01 71 EA 51. My question is: How should I interpret this number (or address)?
I assumed that it would be an offset to the memo block in the FPT file. However, when I use HexEdit to look at the content of the memo file, if I go to that address, I'm in the middle of another completely unrelated memo block.
So, can anyone help me understand what that 4-byte number refers to?
Thanks,
Ron