RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDef.Size Property

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

Pascal
property Size: Integer;
C++
__property int Size;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!