IPrxSheet.DrillCell

Syntax

DrillCell(Row: Integer; Column: Integer): IPrxDrillCellResult;

Parameters

Row. Row index.

Column. Column index.

Description

The DrillCell method returns information on cell binding to slice data regardless of the sate of multiple selection in fixed dimensions. Indexes of the cell's row and column are passed in the Row and Column parameters respectively.

The method is outdated, use IPrxTable.DataBinding.

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(40);
    If Drill <> Null Then
        s := Drill.DataSource.Name;
    End If;
End Sub Main;

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

See also:

IPrxSheet