Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VarChar ?
Message
From
09/07/2004 16:21:08
 
 
To
09/07/2004 13:10:04
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Miscellaneous
Thread ID:
00922385
Message ID:
00922711
Views:
10
Aleksey,

>I just want to clarify that, even though Varchar field is a fixed length field in DBF, the values stored in the field are variable length values and they are not padded to the length of the field. The unused space in the field is filled with spaces rather than with binary zeros.

Clarifying...

That explanation might leave someone thinking that there is no difference in how Char and VarChar are stored in the DBF.

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.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform