Jump to content
We've recently updated our Privacy Statement, available here ×

grinvon

Members
  • Posts

    4
  • Joined

  • Last visited

grinvon's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi folks! I´m posting the solution I´ve discovered for that issue. My main report will behaves like subreport. So I will create more one report that will be the main right now, that main report will just contains details band actived, inside that will find two segments to fit two subreports areas. However I was getting an error when I tried to put some pictures inside the subreports, but fixed using one technique discussed here in the forum, just need to run pictures in cache mode, so the report will process them as well, without further problems occurring. If I demand to three equals reporting printing, I just create more one subreport area as well and I adjust it to everything necessary to run. One note: Pay attention when you try to put two subreports together in the same band area as details one. When you do it, mark subreports to floating and no stretching, if someone gonna mark as fixed one, will crash report and will not pop-up all subreports as it should. So, we have: - One new report will act like the mains one. - The last report will act like subreports - The main will have two (or whathever you wants) subreports areas to fit the same report. - Put these subreports areas to floating up and do not stretching it. Pay attention whether another element inside the band area gonna do it in a different maner related here. - I made a break line to breaks report priting and execute the printing in another line. Afterward everything runned ok. I lost a lot of time doing that with a workmate also helping me. Regards people! I hope that solution can be used further for anyone though the same problem.
  2. Thank you so much ocketje, I will try on two ideas. 1 - figure out how to print twice using method you told me. 2 - I had an idea to make my main report as subreport, so I have to create another report and create subreport area into it. Any progress I´ll report here to help also others. Cya!
  3. Hi there, I would like to generate the same report twice as PDF. Maybe can I use some group to duplicate all content inside? I really have no idea how to do it as well. Regards!
  4. Hi there! I am facing a new problem about iReport. I have a list with an entity model added. This entity have a list of another entity. The problem consists in how try to show the values from the second list. Ex: public class Company { private String name; private List<Person> people; //getters and setters below... } public class Person { private String name; //getters and setters below... } I need to show the person list values. I am using "JRBeanCollectionDataSource". I had created a group and associated that list: "${files} is java.util.List". I noticed that I have one variable created in variables group as "grp_files_COUNT". I tried to use it to interact with that list, but a lot of erros pop up in the output console. $F{files}.get($V{grp_files_COUNT}.intValue()).getName() I really have no idea how to do it, some clues? Sorry about my poor english! Regards!
×
×
  • Create New...