Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TFieldDef.CharSize

Character size.

Declaration

Source position: db.pas line 208

public property TFieldDef.CharSize : Word
  read GetCharSize;

Description

CharSize is only relevant for for string fields: it indicates the number of bytes used to represent a single character. It is calculated from the TFieldDef.CodePage property and can have the following values:

See also

TFieldDef.CodePage

  

System code page for the values in string and wide string field types.

TFieldDef.Size

  

Size of the buffer needed to store the data of the field.


Documentation generated on: Dec 22 2024