xHarbour Reference Documentation > Function Reference |
Retrieves the number of bytes occupied by a field variable.
FieldLen( <nFieldPos> ) --> nFieldLength
The function returns a numeric value indicating the number of bytes the specified field variable occupies in one record of the database file.
FieldLen() retrieves a particular information available for field variables: the number of bytes required to store the field variable in a database record. Note that the value of memo fields is stored in a separate file. A memo field variable occupies 4 or 10 bytes in a database record, depending on the RDD used.
See also: | DbFieldInfo(), DbStruct(), FieldDec(), FieldName(), FieldType() |
Category: | Field functions , xHarbour extensions |
Source: | rdd\dbcmd.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com