Report > Report Assembly Interfaces > IPrxTableIsland > IPrxTableIsland.RowsBehaviour
RowsBehaviour: PrxDataIslandHeaderBehaviour;
The RowsBehaviour property determines behavior of a relational data area when the number of data area rows is increased. If this property is set to Insert, specify the RowsToInsert property.
The following example assumes that there is the Report object with the IPrxReport type.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Report: IPrxReport;
TabIs: IPrxTableIslands;
TI: IPrxTableIsland;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("REPORT").Edit;
Report := MObj As IPrxReport;
TabIs := Report.TableIslands;
TI := TabIs.Item(0);
TI := TI.Edit;
TI.RowsBehaviour := PrxDataIslandHeaderBehaviour.Insert;
TI.RowsToInsert := 100;
TI.Save;
MObj.Save;
End Sub UserProc;
After executing the example the rows behavior is set: Insert N at a time. When the number of the data area rows is increased, the required number of rows is added into the report sheet, 100 rows are inserted during a single iteration.
See also: