IPrxDataIslandDimension.Sort

Syntax

Sort: IPrxDataIslandDimensionSort;

Description

The Sort property returns dimension sorting parameters.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

DimModel: IDimensionModel;

Prop: IPrxDataIslandProperties;

PropDim: IPrxDataIslandDimension;

Sort: IPrxDataIslandDimensionSort;

Begin

MB := MetabaseClass.Active;

Report := MB.ItemById("Report").Bind As IPrxReport;

DIs := Report.DataIslands;

DI := DIs.Item(0).Edit;

    DimModel := DI.Slice.TopHeader.Item(0).Dimension.Dimension;

    Prop := DI.Properties;

    PropDim := Prop.Dimension(DimModel);

    Sort := PropDim.Sort;

DI.Save;

End Sub Main;

After executing the example the Sort variable contains parameters of sorting for the first dimension located in slice columns. The identifier of the regular report - Report.

See also:

IPrxDataIslandDimension