Jump to content

need global stringbuffer


d_failla

Recommended Posts

I am iterating through a subreport several times in my main report. I have a need to store some artifact reflecting each iteration that I can evaluate in a later report band. Is there some sort of global stringbuffer mechanism that I can append to after each time through?
Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I tried passing a variable back and forth previously but whenever I passed the variable back into the subreport the second time, it went back as a null; not the previous value. That has been my problem, it seems to lose scope on each iteration.

 

As for the Java class, would that creted class be part of my iReport or an additonal file (like a scriptlet)? It is desirable that I not have additional files to account for.

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