Jump to content
Changes to the Jaspersoft community edition download ×

Previous Row Reference


dennistmh

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi dennistmh,

 

I just can think in a servlet containing a variable where you will save the value you want to use later.

 

I mean, for the first row use the AfterDetailEval method of the servlet to save the value you need in a variable in the servlet (remember the servlet is a class). Then for the next row use the BeforeDetailEval method to put the value in your servlet variable in a parameter in the report, and you've got it.

 

I'm not a guru in JasperReport and don't know if there is a better way to do this, so I hope this helps.

:whistle:

 

Regards,

Diego.

Link to comment
Share on other sites

Dear Diego,

 

Really thanks for the solution. Since I am just start to evaluate this reporting tools, my company hasn't buy the menu. Anyway, I can get your idea to solve my problem. However, I really don't know how to do it. Could you / anybody give me a sample of it?

 

I am really happy that if you or anybody give me some reference link for this reporting tools before I buy the menu.

 

Thanks a lot,

Dennis

Link to comment
Share on other sites

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