Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Offset value in .dbf header
Message
De
06/02/2002 10:43:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Offset value in .dbf header
Divers
Thread ID:
00616052
Message ID:
00616052
Vues:
64
I am tinkering with tables opened with fopen() and I'm also looking at them with a hex editor. I have observed that for any field numbered n:

OFFSETn = (FIELD LENGTH n -1 + FIELD LENGTH n - 2 + ... + FIELD LENGTH 1) + 1

i.e. the sum of all previous field lengths + 1.

Q: Is this always true, or is it possible for a field's offset value to be independent of the order of its description in the table header?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform