Jump to content

adecass1

Members
  • Posts

    5
  • Joined

  • Last visited

adecass1'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. I have built a Jasper report, with an XML Data source, and integrated it into a struts application. It takes 2 minutes and 45 seconds to complete an 872 page PDF report. Is this result time acceptable? Could this result time be improved or is the PDF to large? Thank you
  2. Hi, I have created an XML Datasource report, and it works perfectly. Can iReport/Jasper place subtotals in the header section? If I place the subtotals in the footers it works perfect, but in the header section not. Does the subtotal section "count" the detail section at run time and echo the value out? For Example: Region and County are groups with their respected headers and footers. Region Header Region 1 County Header County 1 Detail De Test De Test1 County Footer Subtotal 2 Region Footer Subtotal 2 How would I place the Subtotals on to the headers? To read like: Region Header Region 1 Subtotal 2 County Header County 1 Subtotal 2 Thank you,
  3. XML Datasource Subreports. Through Ireport 2.0.5, I was able to create the addressbook example. However, the example required subreports with only one field. For instance, the hobbies subreport “Report Query†section set one field “hobbies†and set it to “.â€. Then in the main report, it included the hobbies subreport and “Use data source expression†was set to ((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/person/hobbies/hobby"). This worked perfectly. This sample XML code has a node “Notes†with “note†and “commentâ€. If the subreport had two or more fields, how would I set up the subDataSource. Or should I have two separate subreports. One for notes and one for comment? <addressbook> <category name="home"> <person id="1"> <LASTNAME>Davolio</LASTNAME> <FIRSTNAME>Nancy</FIRSTNAME> <hobbies> <hobby>Radio Control</hobby> <hobby>R/C Cars</hobby> <hobby>Micro R/C Cars</hobby> <hobby>Die-Cast Models</hobby> </hobbies> <notes> <note>This is a note1</note> <comment>NC1</comment> <note>This is a note 2</note> <comment>NC2</comment> <note>This is a note3</note> <comment>NC3</comment> </notes> <email>email1@my.domain.it</email> <email>email2@my.domain2.it</email> </person> </category> </addressbook>
  4. XML Datasource Subreports. "The Definitive Guide to iReport" p.144 Through Ireport 2.0.5, I was able to create the addressbook example. However, the example required subreports with only one field. For instance, the hobbies subreport “Report Query†section set one field “hobbies†and set it to “.â€. Then in the main report, it included the hobbies subreport and “Use data source expression†was set to ((net.sf.jasperreports.engine.data.JRXmlDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("/person/hobbies/hobby"). This worked perfectly. This sample XML code has a node “Notes†with “note†and “commentâ€. If the subreport had two or more fields, how would I set up the subDataSource. Or should I have two separate subreports. One for notes and one for comment? <addressbook> <category name="home"> <person id="1"> <LASTNAME>Davolio</LASTNAME> <FIRSTNAME>Nancy</FIRSTNAME> <hobbies> <hobby>Radio Control</hobby> <hobby>R/C Cars</hobby> <hobby>Micro R/C Cars</hobby> <hobby>Die-Cast Models</hobby> </hobbies> <notes> <note>This is a note1</note> <comment>NC1</comment> <note>This is a note 2</note> <comment>NC2</comment> <note>This is a note3</note> <comment>NC3</comment> </notes> <email>email1@my.domain.it</email> <email>email2@my.domain2.it</email> </person> </category> </addressbook>
×
×
  • Create New...