ITableField.IsCalculated

Syntax

IsCalculated: Boolean;

Description

The IsCalculated property determines whether the field is calculated. True if a field is calculated.

Example

Sub Main;

Var

MB: IMetabase;

Table: ITable;

Fields: ITableFields;

Field: ITableField;

s: String;

Begin

MB:=MetabaseClass.Active;

Table:=MB.ItemById("TABLE_1").Bind As ITable;

Fields:=Table.Fields;

Field:=Fields.Item(0);

If Field.IsCalculated Then

s:="Calculated";

Else

s:="Not Calculated";

End If;

End Sub Main;

After executing the example, the "s" variable contains Calculated, if the first field of the table with the Table_1 identifier is calculated.

See also:

ITableField