LastPage

Purpose:

Returns if the current page is also the last page. This function can only be used in the footer lines of tables, in objects linked with tables or in the layout regions condition! In all other cases, the result of LastPage() is always False.

Note: The multi-pass processing also changes the behavior of the LastPage() function. This function returns True only for objects that are drawn after the report container (e.g. by sequential interlinking). If you want to generate output within the container only on the last page of a pass, use the function LastFooterThisTable() as a condition.

Parameter:

-

Return value:

Boolean

Example:

Cond(LastPage(),"Total sum","Subtotal")