Jump to content
Changes to the Jaspersoft community edition download ×

Set order number for group in IReport


kentzipo

Recommended Posts

Hi

I have a group in my report. Now, i want create order number for this group.

No    Group's name    Record
1       grp1-------------------------------
                                record1
                                record2
2       grp2------------------------------
                                record3
                                record4

 

I was created variables "STT" , but don't run. Detail:

 - Variable Class; java.lang.Integer

 - Calculation: Nothing

 - Reset type: None

 - Increment type: Group

 - Variable Expression:    ($V{STT} == null?0:$V{STT}) + 1

 - Initial Value Expression: new Interger(0)

And i set Evaluation Time: Group

Please help me!

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