IStandardDimAttribute.DataType

Syntax

DataType: DbDataType;

Description

The DataType property determines type of dictionary attribute data.

Example

Sub Main;

Var

MB: IMetabase;

Dimens: IStandardDimension;

DimAtrrs: IStandardDimAttributes;

DimAtribut: IStandardDimAttribute;

i: Integer;

Begin

MB:=MetabaseClass.Active;

Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;

DimAtrrs:=Dimens.Attributes;

DimAtribut:=DimAtrrs.Item(0);

i:=DimAtribut.DataType;

End Sub Main;

After executing the example the "i" variable contains type of data stored in the first attribute of tabular dictionary, converted to integer. Table dictionary identifier:: TAB_DIM.

See also:

IStandardDimAttribute