Data.DB.TBCDField.Size

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Size: Integer read GetSize write SetSize default 4;

C++

__property Size = {default=4};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TBCDField

Description

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

Data.DB.TBCDField.Size inherits from Data.DB.TField.Size. All content below this line refers to Data.DB.TField.Size.

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