IStandardDimLevels.Item

Syntax

Item(Index: Variant): IStandardDimLevel;

Parameters

Index. Level index.

Description

The Item property returns an object containing table dictionary level.

Example

Sub Main;

Var

MB: IMetabase;

Dim: IStandardDimension;

DimLevels: IStandardDimLevels;

DimLevel: IStandardDimLevel;

s: String;

Begin

MB:=MetabaseClass.Active;

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

DimLevels:=Dim.Levels;

If DimLevels.Count<>0 Then

DimLevel:=DimLevels.Item(0);

s:=DimLevel.Name;

End If;

End Sub Main;

After executing the example the "s" variable contains the name of the first dictionary level. Table dictionary identifier: TAB_DIM.

See also:

IStandardDimLevels