IPrxSliceDimension.HeaderPosition

Syntax

HeaderPosition: Integer;

Description

The HeaderPosition property returns position of the dimension in the slice header.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

DtSources: IPrxDataSources;

Slices: IPrxSlices;

SliceDims: IPrxSliceDimensions;

SliceDim: IPrxSliceDimension;

i: Integer;

Begin

MB := MetabaseClass.Active;

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

DtSources := Report.DataSources;

Slices := DtSources.Item(0).Slices;

SliceDims := Slices.Item(0).Dimensions;

SliceDim := SliceDims.Item(0);

i := SliceDim.HeaderPosition;

End Sub Main;

After executing the example the "i" variable contains position of the first dimension of the slice in the header. The identifier of the regular report - Report.

See also:

IPrxSliceDimension