From RAD Studio API Documentation
Jump to: navigation, search


property Size: Integer read GetSize write SetSize default 0;


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


Type Visibility Source Unit Parent
property published
Data.DB TFieldDef


Reports the size associated with the field in the physical database table.

Use Size to determine the size associated with the corresponding physical field.

Size is meaningful only for a field definition object with one of the following TFieldType values: ftString, ftBCD, ftBytes, ftVarBytes, ftBlob, ftMemo or ftGraphic. For string and byte fields, Size is the number of bytes reserved in the table for the field. For a BCD field, Size is the number of digits following the decimal point. For a BLOB, memo, or graphic field, Size is the number of bytes from the field's value that are stored in the actual database table.

See Also

Code Examples