IPrxDrillCellResult.Slice

Syntax

Slice: IPrxSlice;

Description

The Slice property returns an object containing the slice used as a data source for the specified cell.

Example

Sub Main;

Var

MB: IMetabase;

Report: IPrxReport;

Sheet: IPrxSheet;

Drill: IPrxDrillCellResult;

s: String;

Begin

MB := MetabaseClass.Active;

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

Sheet := Report.ActiveSheet;

Sheet.Recalc;

Drill:= Sheet.DrillCell(4,1);

s := Drill.Slice.Name;

End Sub Main;

After executing the example the "s" variable contains name of the data slice. The identifier of the regular report - Report.

See also:

IPrxDrillCellResult