How to prevent getting double pages in PDF with sama data?

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Hi,

   I am new to generate PDF using iReport.  

   I am trying to generate PDF file using iReport, MYSQL, Java Swing and Netbeans.

  In my main jasper file,  i have two subreports. Inside that two subreports,i have 6 subreports in each.

   I am getting whole data  in PDF exactly what I want,

        but, It is repeating and generating two pages.

  My query is fine I am getting single record in Main report. In subreports ,it may come multiple records.

   Please let me know if any solution for this case.

Thanks & Regards  - - -Javian

 

 

javianjava's picture
Joined: Sep 28 2013 - 12:12am
Last seen: 8 years 4 months ago

2 Answers:

is it possible to post ur jrxml file here?

I am also having some report with 2-3 layers of subreports with pdf output but iam not facing the issue you mentioned above.

hishamkmr's picture
438
Joined: Sep 4 2013 - 5:07am
Last seen: 8 years 2 months ago

I kept all my fields and subreports in TITLE band and SUMMERY band.It is working fine.As of now I solved the problem without using DETAILS band.

javianjava - 8 years 9 months ago

I kept all my fields and subreports in TITLE band and SUMMERY band.It is working fine. As of know I solved the problem without using DETAILS band.


      If i need to use details band also, how to configure my DETAILS band , static text,data fields and subreports which would be in DETAILS band ?

javianjava's picture
Joined: Sep 28 2013 - 12:12am
Last seen: 8 years 4 months ago
Feedback
randomness