Using LastPage() and TotalPages$() functions

Here you are - attached is a “Simple List” report for the demo application. It has this object in its structure:

image

The content is simply

SetVar("LastPage", Page(), False)

Mult-Pass processing is enabled for the project and only the last pass is actually printed:

image

I’ve also added a text object that makes use of this:

image

Its appearance condition reads

Page() = GetVar("LastPage")-1

Which works just as it should:

Hope this helps for your scenario as well.

MultiPassSample.rpt (75.9 KB)

1 Like