IPrxSliceDimension.MoveLast

Syntax

MoveLast(Disposition: PrxHeaderDisposition);

Parameters

Disposition - slice header.

Description

The MoveLast method moves the dimension to the last position of the specified slice header. The slice header is passed using the Disposition parameter.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

DtSources: IPrxDataSources;

Slices: IPrxSlices;

SliceDims: IPrxSliceDimensions;

SliceDim: IPrxSliceDimension;

Begin

MB := MetabaseClass.Active;

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

Report := MObj As IPrxReport;

DtSources := Report.DataSources;

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

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

SliceDim := SliceDims.Item(0);

SliceDim.MoveLase(PrxHeaderDisposition.Fixed);

MObj.Save;

End Sub Main;

After executing the example the first dimension of the first slice of the data source is placed to the last position in the Fixed group. The identifier of the regular report - Report.

See also:

IPrxSliceDimension