IsDrillAllowed: Boolean;
The IsDrillAllowed property determines whether the cell data binding to the slice is allowed.
The property returns True by default.
Executing the example requires a regular report with the REPORT identifier, which contains data area. Add links to the Metabase, Report system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
DI: IPrxDataIsland;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("REPORT").Edit;
DI := (MObj As IPrxReport).DataIslands.Item(0).Edit;
// Set a property that denies binding of cell data to the slice.
DI.IsDrillAllowed := False;
DI.Save;
// Save report.
MObj.Save;
End Sub UserProc;
After executing the example cell data binding to slice is denied in the report with the Report identifier.
See also: