Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Tim,
Start HexEdit (mine's in C:\Program Files\Microsoft Visual Studio\Vfp98\Tools\Hexedit\HexEdit.pjx)
Open the offending table (report in this case). Subtract 1 from the 5th byte.
More detailed directions:
Make a backup so you can mess around if you need to.
The number of records in the table is stored in the 5th and 6th bytes of the table header, in reverse order. The byte you need is under the column labeled "4."
Hex arithmetic can be tricky. Numbers after 9 are A, B, C, D, E, F, 10. Easy to subtract 1 if your 2 bytes aren't an even multiple of 16 so you don't have to "borrow" from the next digit.
Save and close. The problem should be solved.
This happens because Fox adds 1 to the record count in the header and then adds the new record, and if something happens in between there is a mis-match between the count in the header and the number of records.
Hope this helps. If you're not sure, post again.
>HI!
>
>A user sent my on of their reports. They said their PC crashed.....
>When I open the report file.
>It asks me if I want to COnvert the Report to 6.0 Format.
>
>If I try to open it as a table it says "not a table"
>
>Is there anything I can do for her to fix it?
Précédent
Suivant
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