Jump to content

Get total number of pages in expressions


crawling5

Recommended Posts

Hello,

 

I would like to use the total number of pages in a print expression to print the column footer only in the last page (without blank between details and the footer).

 

I tried to create a variable containing PAGE_NUMBER with a incrementation time at "report". But it doesn't work.

 

Someone to help me ?

 

 

Thank you.

 

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

There is no variable that would tell you that you are on the last page.

You could use the <lastPageFooter> section of the report.

But if you don't want the gap between the last detail and this footer, then I suggest you simply use the group footer section of a dummy group that has no expression, or has a null expression, which would cause it to break only once per report. Its footer would appear at the end of details, just like you probably want it.

 

I hope this helps.
Teodor

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...