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

TFieldDef.Codepage

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

Declaration

Source position: db.pas line 212

public property TFieldDef.Codepage : TSystemCodePage
  read FCodePage;

Description

Codepage is a read-only TSystemCodePage property with the system code page used for values in the field. The value in CodePage is assigned in the overloaded constructor which includes a TSystemCodePage argument. CodePage is relevant for string or wide string field types, and uses the following values:

ftString, ftFixedChar, ftMemo
Uses the value passed in the argument. The default value is 0.
ftWideString, ftFixedWideChar, ftWideMemo
Use the value in the CP_UTF16 constant.
Other non-string field types
Uses the value 0 in Codepage.

See also

TFieldDef.Create

  

Constructor for TFieldDef.

TFieldDef.DataType

  

Data type for the field.


Documentation generated on: Oct 27 2024