• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

iReport generating data redundantly

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
reply
    Bookmark Topic Watch Topic
  • New Topic