iReport Subreport not printed

Good morning from Gran Canaria.

I´m trying to print a report that has to print a summary in each group footer.

I created a report for that summary with the parameters needed to get the SQL data and print the report. If I run the report in preview mode from iReport, I can see it is working, but when I put a subreport in the group footer of the master report it is not shown. I can see the master report but not the subreport. I do not get any error.

I have to say that the master report gets the data from a Servoy foundset, not from an iReport SQL, and I´m not sending “Don´t pass data.” in the Connection type of the subreport.

Do you have any idea why this is happening?

I have been able to run the report by changing the data source of the master. If I create a SQL sentences from iReport it works properly. Is there a way to do that using Servoy foundsets? I need it because of the calculations.

Thanks.

Juan,

You can use a related foundset as a datasource of a subreport.

See http://www.mindfiresolutions.com/Adding … in-724.php

Rob

rgansevles:
Juan,

You can use a related foundset as a datasource of a subreport.

See http://www.mindfiresolutions.com/Adding … in-724.php

Rob

Thank you Rob.