Jump to content
JasperReports Library 7.0 is now available ×

(Increment) numbering


ktrinad

Recommended Posts

By: Peter van Raamsdonk - peetzer

(Increment) numbering

2003-11-13 04:43

Hi,

 

1) How can I user a numbering function which increments on the number of records (data) from a query. Like the page numbering in the report?

 

2) Is there a tool like the chart example to create a spreadsheet layout inside a rapport?

 

Greetz Peetz

 

 

 

 

By: Giulio Toffoli - gt78

RE: (Increment) numbering

2003-11-13 04:49

 

1) Create a variable named ie. MyCounter

Set calculation to nothing.

Initial expression: new Integer(0);

Expression: new Integer($V{MyCounter}.intValue() +1)

 

Your variable will contain the number of records.

 

Giulio

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