Jump to content
We've recently updated our Privacy Statement, available here ×

Page Number Problem


Recommended Posts

By: Chuck Deal - cdeal
Page Number Problem
2003-04-11 10:02
I feel like I have seen the answer to this problem before, but I can't find it.

In my case I have a report that generates 2 pages. On the first page, it displays "Page: null of 2", but on the second it displays "Page: 2 of 2". What am I missing? I do not have a detail section, but I do have multiple groups. (The report represents one record and it is easier to work with the fields when they are in groups)

Here is the XML for the PageFooter section.
 

Code:
                                                                                             Page:                                                                                                                  $V{PAGE_NUMBER}                                                                                                              of                                                                                                                   $V{PAGE_NUMBER}                           [/code]			

What am I missing?

By: Heinz Haeussler - ecd-haeussler-h
RE: Page Number Problem
2003-04-15 23:46
I have the same problem in the pagefooter with 0.4.6.
It appears only if a groups starts a new page because of his minHeightToStartNewPage-Attribute.

Heinz

By: Teodor Danciu - teodord
RE: Page Number Problem
2003-04-11 13:52

Hi,

What version of JasperReports are you using?

Thank you,
Teodor


By: William Wong - takara5
RE: Page Number Problem
2003-08-06 08:06
I am having the same page numbering problem and am using multiple groups as well. The PAGE_NUMBER = null problem only occurs when a group starts a new page. I am also using JasperReports 0.5. Does anyone know of a quick-fix to this problem?


By: Chuck Deal - cdeal
RE: Page Number Problem
2003-04-14 06:43
Sorry, forgot to mention that.

JasperReports 0.4.5

I does this behavior both in the JasperViewer and in the exported PDF.


By: Teodor Danciu - teodord
RE: Page Number Problem
2003-12-13 10:41

Hi,

I think this happens only when the first detail band
does not fit on the first page and forces a page
break. (If it occurs inside a subreport, it is about
the first page of the subreport)

Can you confirm me that this "Page null of N"
problem appears only when the first detail band does
not fit on the first page?

Thank you,
Teodor


By: Sohan Kasula - skasula
RE: Page Number Problem
2003-09-25 12:58
Does anyone know how to fix this "page null of X" problem ? Thanks in advance.
Post edited by: tcloonan, at: 2006/08/18 21:41

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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