Skip to the content.

hmRep_INSERT PAGE ( Area ; afterPage)

Introduced in v2.0, Preemptive: yes
Parameter Type In/Out Description
Area Longint Area reference
afterPage Longint Insert after page number

Description

The command hmRep_INSERT PAGE inserts a page in the current report after the page number defined by the parameter afterPage. If afterPage is -1, the page will be insert at the end of the report (=the last page).

The new created page will have the following properties from the previous page:

The new inserted page will not be the current page. You have to call hmRep_SET CURRENT PAGE.

Example

The following example inserts a page at the end of the current report:

hmRep_INSERT PAGE(hmRep; -1)