Jump to content
JasperReports Library 7.0 is now available ×

Page x of y resetted in Group


Recommended Posts

By: sagi7 - sagi7

Page x of y resetted in Group

2006-01-26 12:34

Hello,

 

i have created a variable "Page" with expression $V{PAGE_NUMBER}.

Class = Integer

Calculation type=Count

Reset Type=Group

Reset Group=Auftrag

Increment type=Page - no increment group

 

 

At the group expression i set

Reset page number

Start on a new page

Print header on each page

 

with group expression $F{dbKeyAuftrag}

 

On the page header i have a textfield

with evaluation time Now, which shall represent

x from page x of y.

And a second field with Evaluation time Group and the corresponding group.

 

I cannot see any logic in the pagenumbers i get.

Can it be a problem, that i print the pagenumbers in my pageheader than in my groupheader?

 

Best regards

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