IUserDimIndexes.Clear

Syntax

Clear;

Description

The Clear method removes all indexes of a calculated dictionary.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

UsDim: IUserDimension;

UsDimInds: IUserDimIndexes;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("USER_DIM").Edit;

UsDim:=MObj As IUserDimension;

UsDimInds:=UsDim.Indexes;

UsDimInds.Clear;

MObj.Save;

End Sub Main;

After executing the example all the dictionary indexes are deleted. Calculated dictionary identifier: USER_DIM.

See also:

IUserDimIndexes