TurboDB VCL Component Library TTdbFieldDef.InternalCalcField |
Previous Top Next |
Specifies whether the expression is used for the default value or a calculated column.
Delphi syntax:
property InternalCalcField: Boolean;
C++ syntax:
__property bool InternalCalcField = {read=FInternalCalcField, write=FInternalCalcField, nodefault};
Description
Set InternalCalcField to True if you want the expression in CalcExpression be calculated each time a record is modified. As a result, the column will always contain a value which the result of the CalcExpression. Set InternalCalcField to False if the result of the expression is a default value for new records and shall not be evaluated later on.