Jump to content
JasperReports Library 7.0 is now available ×

How do I get the total page number variable?


yinfeng6118

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi Yinfeng,

You can't directly "get" the value of the total page number.

I guess you are trying to use the total page number as a Print When condition? If that's the case, there's a imperfect workaround...

BTW I have created a QQ group for Chinese Jasper developers, join 871048119 if you are intrested.

Link to comment
Share on other sites

Hi riodavid,

Thank you for your answer.

you are right,this problem has been bothering me for few days.

We have a requirement, Print some different marks on the last page of each group or report.

I need to get to know whether current page is the last page or not.

I think it should be got via variable. But it's really hard.

I have joined the group you created.

I expect someone can help me, find a solution.

Thanks again.

Yinfeng

 

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...