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

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: 9 years 7 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
874
Joined: Sep 4 2013 - 5:07am
Last seen: 9 years 5 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 - 9 years 12 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: 9 years 7 months ago
Feedback