Jump to content
We've recently updated our Privacy Statement, available here ×

2 SubReports with CSV Datasource


chitra.elumalai

Recommended Posts

Hi ,

I created a main report with 2 sub reports.

For instance - Main report with Title (Static Text)

Sub report 1 - (Column1,Column2,Column3) in title band of Main report

Sub report 2 - (Title ,Column1,Column2 ... Column5 ) in the Detail band of Main Report

The data source is csv datasource. I passed the parameter ($P{REPORT_DATA_SOURCE}) in the Data source expression for each sub reports. When previewed , i got the main report with the first subreport along with data. For Second sub report , i get only the title and not the data.

Could anyone please advise ?

P.S : I have not used any parameters to filter the data.

 

Regards,

Chitra

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thanks Javier.

So the problem is because of the indices. Some data from csv file is showed up in the 1st sub report whereas the second sub report does not get the data. So it has to either read the csv file again and populate the data in the second sub report. Any help will be much appreciated.

 

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