Show contents 

Dimensions > Dimensions Assembly Interfaces > IStandardDimBlock > IStandardDimBlock.Indexes

IStandardDimBlock.Indexes

Syntax

Indexes: IStandardDimIndexes;

Description

The Indexes property returns an object that contains a collection of table dictionary block indexes.

Example

Sub UserProc;
Var
    MB: IMetabase;
    Dimens: IStandardDimension;
    DimBlocks: IStandardDimBlocks;
    DimBlock: IStandardDimBlock;
    DimBlIndex: IStandardDimIndexes;
    i: Integer;
Begin
    MB:=MetabaseClass.Active;
    Dimens:=MB.ItemById("TAB_DIM").Bind As IStandardDimension;
    DimBlocks:=Dimens.Blocks;
    DimBlock:=DimBlocks.Item(0);
    DimBlIndex:=DimBlock.Indexes;
    i:=DimBlIndex.Count;
End Sub UserProc;

After executing the example the "i" variable contains the number of indexes in the first dictionary block. Table dictionary identifier: TAB_DIM.

See also:

IStandardDimBlock