IPrxDataIslandHeader.Sort

Syntax

Sort: IPrxDataIslandDimensionSort;

Description

The Sort property returns an object containing parameters of sorting for data area rows and columns.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

DIs: IPrxDataIslands;

DI: IPrxDataIsland;

Prop: IPrxDataIslandProperties;

THead: IPrxDataIslandHeader;

Sort: IPrxDataIslandDimensionSort;

Begin

MB := MetabaseClass.Active;

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

DIs := Report.DataIslands;

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

    Prop := DI.Properties;

    THead := Prop.TopHeader;

    Sort := THead.Sort;

DI.Save;

End Sub Main;

After executing the example the Sort variable contains parameters of sorting for columns of the first data area. The identifier of the regular report - Report.

See also:

IPrxDataIslandHeader