DrillCell(Row: Integer; Column: Integer): IPrxDrillCellResult;
Row. Row index.
Column. Column index.
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.
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, 0);
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: