Sign in Join
FPDoc Onlineexperiment

TFieldDef.Size property

Member of TFieldDefpublishedIn unit DB

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

Declaration

pascal
property Size: Integer read GetSize write SetSize default 0;

Description

Size indicates the size of the buffer needed to hold data for the field. For types with a fixed size (such as integer, word or data/time) the size can be zero: the buffer mechanism reserves automatically enough heap memory. For types which can have various sizes (blobs, string types), the Size property tells the buffer mechanism how many bytes are needed to hold the data for the field. For BCD fields, the size property indicates the number of decimals after the decimal separator.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.