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

0

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: 7 years 1 month ago

2 Answers:

0

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
Joined: Sep 4 2013 - 5:07am
Last seen: 6 years 11 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 - 7 years 6 months ago
0

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: 7 years 1 month ago
Feedback
randomness