Jump to content
Changes to the Jaspersoft community edition download ×

control subreport count


2005 IR Help

Recommended Posts

By: Chris Germano - netslayer

control subreport count

2005-02-25 16:54

how can i control the subreport count from the master report? I only want it to run the subreport once no matter what.

 

 

 

 

By: C-Box - c-box

RE: control subreport count

2005-02-27 09:07

Just put your SubReport into an own GroupBand and make as groupexpression something like "new Integer(1)" or just nothing! So the whole subreport is just called once.

 

Or you use the printWhenExpression of the SubReport Element with a variable that initial value is true and you set it to false after the SubReport run for the first time. (could past that variable into the SubReport and set it in the SummaryBand to false and pass it back to the master)

 

hth

C-Box

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