Jump to content
Changes to the Jaspersoft community edition download ×

Values of $V{PAGE_NUMBER} in subreport


malani_manish

Recommended Posts

Everyone knows the standard solution for showing "Page # of #", i.e. making two text fields with $V{PAGE_NUMBER} and keeping their evaluation time as Now and Report respectively.

I would like to make the page footer part of my every report as a common report, which in turn will be used as a subreport in master.

I pass $V{PAGE_NUMBER} as a parameter to subreport but I cannot achieve the same thing as I can in master report. Can I have some work around for this?

Thanks in advance.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

AFAIK there is still no solution to use the $V{PAGE_NUMBER } variable of MasterReport within a SubReport.

As the SubReport is a report of it's own, it will always just contain the number of pages this subreport has. And when pass the variable as SubReport variable down to the SubReport it will always have the value it has NOW and not at REPORT (level).

just my two cents

C-Box

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