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

CSV Subreport


skippi1

Recommended Posts

I use two subreports based on csv data. The main report and the subreport use different datasets. Both reports work on their own. If I embed the second report as a subreport in the first one, it never contains any data. Only the nodata section is always displayed here.
Who can help me here?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

After some research, I believe that Jasper subreports only work in conjunction with SQL Connections. In my example, I currently only use two different CSV files as a source, but they cannot be merged into one report. My actual goal is a report on MongoDB, but I'm afraid that the driver is not an SQL driver and subreports are also not possible in this context.
My example uses the classic example of invoices and invoice items, both from one CSV file each and related rows share a common ID. A report which shows invoices and items together as a list seems to be impossible without SQL. This is a pity. Working examples can only be found in connection with SQL databases.

Here is a hint from another source:
"...  Since a sub-report requires it's own dataset, if you're not using SQL, then your sub-report has no dataset and can't display anything. ..."

https://support.illuminateed.com/hc/en-us/community/posts/360013857234-Subreport-The-detail-of-subreport-doesn-t-display-

 

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