IPrxSheet.DetachRange

Syntax

DetachRange(TabRange: ITabRange): Boolean;

Parameters

TabRange - cell range.

Description

The DetachRange method unbinds a cell range from the slice data. If the unbinding is successfully completed, the method returns True.

The method is outdated, it is recommended to use the DataBinding property.

Example

Sub Detach_Range;

Var

Report: IPrxRepor;

Sheet: ITabSheet;

b: Boolean;

Begin

Report:=PrxReport.ActiveReport;

Sheet:=Report.ActiveSheet.Table;

b:=Report.ActiveSheet.DetachRange(Sheet.Cells(1,1,10,2));

End Sub Detach_Range;

This example is a macro of regular report. After executing the macro the "b" variable contains True if the cell range B1:C10 is successfully unbound from the slice data.

See also:

IPrxSheet