Jump to content
Changes to the Jaspersoft community edition download ×

How to insert running number at each record?


2005 IR Help

Recommended Posts

By: Nelson - khchua2

How to insert running number at each record?

2005-06-02 21:11

I'm creating a tabular report. For example, a list of employee information. I would like to add a running number at the start of each record and the number will continue to the following pages. Example, page 1 the running number start from 1 to 20, page 2 will continue from 21 to ... and so on. Please help! TQ

 

 

 

 

By: alanHardwick - alan314

RE: How to insert running number at each reco

2005-06-05 23:00

 

For the running number simply used the predefined variable REPORT_COUNT... (i.e. $V{REPORT_COUNT}) )

 

If you want just the first 20 records on each page, this could probably be achieved by creating a group, with a group expression of report_count mod 20 = 0 n (ie.. %)... and set

the group to start on a new page.

 

Never done it but cant see why it shouldnt work!!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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