Appearance Conditions With Lastpage()
From combit List & Label Designer
The "Lastpage()" Boolean function returns whether the actual page is the last page, i.e. the result of this function is "True" or "False".
This function can only be used in footer lines of tables, as a condition in a layout region condition, or in objects linked to a table. In all other cases, Lastpage() is always "False".