IStandardDimension.Levels

Syntax

Levels: IStandardDimLevels;

Description

The Levels property returns a collection of table dictionary levels.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dimens: IStandardDimension;
    DimLevs: IStandardDimLevels;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
    DimLevs:=Dimens.Levels;
    i:=DimLevs.Count;
End Sub UserProc;

After executing the example the "i" variable contains the number of dictionary levels. Table dictionary identifier: TAB_DIM.

See also:

IStandardDimension