Simple Subreport


I´m sorry

I need your help.


I want to generate a report that has a subreport in it. The main report will have a type parameter in the text to print and the subreport. The subreport also only have a type parameter also print text. The report will not have datasource. They can give me an example, including using java code.

Thank you.


edgr's picture
Joined: Sep 28 2012 - 4:49pm
Last seen: 11 years 5 days ago

1 Answer:

Hi.In the master report,drag the subreport element  from the palette and drop that element in the title band.Then ur subreport page will open;Do the following:1:Create new report 2:write the query according to ur need 3:add parameter and rename that. 4: go to the query sec ,there add this parameter.5:then come to the master report.6:click on the subreport element and go to the property of subreport 7:in the last of the property set the paramameter what you  have added in the detail report. Make suure that both report should be taking same parameter value.

shankarpanda003's picture
Joined: Sep 4 2012 - 9:54pm
Last seen: 9 years 7 months ago