Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VarChar ?
Message
De
09/07/2004 16:40:12
 
 
À
09/07/2004 16:21:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
Divers
Thread ID:
00922385
Message ID:
00922725
Vues:
20
>That explanation might leave someone thinking that there is no difference in how Char and VarChar are stored in the DBF.
>

David, does this "values stored in the field are variable length values and they are not padded to the length of the field" sound the same as Char field?

>If I am interpreting what I see in the DBF correctly, the VarChar will have a Hex value as the last character (holding the length of the actual field value) -- if the value length is less than the field length. Please correct me if I'm wrong.

I would say the last byte contains the length of the value if it is shorter than the max length. You can find the full description in documentation.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform