Jump to content
Changes to the Jaspersoft community edition download ×

Subreport in Detail Band Prints First Row Only


allanchristophersy

Recommended Posts

Hello, I am having a problem. I have a main report getting its data from the main CSV file and a subreport getting its data source from another CSV, the detailed CSV. From main to subreport, i pass 2 parameters, an ID and a Date. Whenever I run the report, I only get to print the first detail row's subreport output, while the succeeding detail rows are blank. 

 

Do you know why?

 

Thanks!12

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Yes, all parameters of the subreport has been mapped properly. I know this because the output of the subreport is correct for the first row of the detail band of the main report, only problem is the succeeding rows of the detail band of the main report seems skipping the subreport or failing to call the subreport.

 

From what I understand, if I put the subreport inside the detail band, for every detail row of the main report, it will call the subreport inside it. Is this correct? If so, why print only the output of the first row but fail to do so in the succeeding rows. That I cannot underdstand.

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