File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes iReport generating data redundantly Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "iReport generating data redundantly" Watch "iReport generating data redundantly" New topic
Author

iReport generating data redundantly

Swapna Gouri Kalanidhi
Ranch Hand

Joined: Mar 14, 2008
Posts: 107
Hi,

I'm facing a problem with iReport. The problem is that the detail band is repeating depending upon the number of items in a transaction. For instance, if transaction 10 has 3 items, the detail band repeats 3 times spreading over 3 pages. And all the 3 pages hold the same data which shouldn't be the case. If there are 5 transactions with varied number of items under them, then all the 5 transactions should appear. But in this case, there are 15 pages generated with the same 5 transactions repeating again and again. For your information, the items under each transaction are generated through a sub report. I created a sub report to fetch the items for a particular transaction number and calling the same in the main report. Actually there is no direct connection between the transaction number and the items displayed. But not sure why the output is dependent upon the items in each transaction. Can anyone help me in this regards? Any help is highly appreciated.

Thank you!


Thanks & Regards
Swapna Gouri
I "try", I "catch" and "finally" WIN !!!
 
IntelliJ Java IDE
 
subject: iReport generating data redundantly
 
Threads others viewed
Please send solution to this-jasper to pdf problem
Blank pages between my PDF report
how to change band height dynamically
problems with NULL and BLANK objects IReport
Study Project specs...
Two Laptop Bag