Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'Not a table' error message
Message
De
10/07/2000 12:00:57
 
 
À
10/07/2000 11:38:33
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00390028
Message ID:
00390267
Vues:
9
Cindy,

>The 4th byte is under the "3" column since the columns start with 0. You need to subtract 1 from this. IF it says "2E", change it to "2D". Note that if it says "20" you need to change it to "1E" since that is the next smaller number in base 16!!!

Sorry, I didn't catch this the first time -- the 5th and 6th bytes have the record count in reverse order (LeastSignificantByte, MostSignificantByte), so usually the byte to lower by one is the 5th byte (under column 4 in hexedit).

Example: a DBF I just looked at has 7 records. The first 6 bytes are:
F5 00 03 1D 07 00
.The record count in HEX is 00 07. If it were, say 260 records, bytes 5 and 6 would show as 04 01, meaning 01 04 (256 + 4).

I've changed the wrong number often enough, that I keep a cheat sheet with me at all times just for this purpose!
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform