Data.DB.TField.Size

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Size: Integer read GetSize write SetSize;

C++

__property int Size = {read=GetSize, write=SetSize, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Indicates the size used in the definition of the physical database field for data types that support different sizes.

The interpretation of Size depends on the data type. The meaning of Size for data types that use it is given in the following table. For all other data types, Size is not used and its value is always 0.



DataType Meaning of Size

ftBCD

Size is the number of digits after the decimal place.

ftString

Size is the maximum number of characters in the string.

ftVarBytes

Size is the maximum number of bytes of data, not counting the first two bytes which indicate the actual number of bytes of data that were used.

ftBytes

Size is the maximum number of bytes of data.

ftBlob

Size is the number of bytes from the BLOB that are stored in the record buffer.

ftDBaseOle

Size is the number of bytes from the dBASE OLE BLOB that are stored in the record buffer.

ftFMTBCD

Size is the number of digits after the decimal place.

ftFmtMemo

Size is the number of bytes from the memo that are stored in the record buffer.

ftGraphic

Size is the number of bytes from the image that are stored in the record buffer.

ftMemo

Size is the number of characters from the memo that are stored in the record buffer.

ftParadoxOle

Size is the number of bytes from the Paradox OLE BLOB that are stored in the record buffer.

ftTypedBinary

Size is the number of bytes from the BLOB that are stored in the record buffer.

ftADT

Size is the total number of fields contained in the ADT field, including the fields of child fields that are of type ADT.

ftArray

Size is the number of elements in the array.



See Also