2

I'm using JasperReports for a generating report in Excel format.

My report has one detail line. This line includes a subreport (database relation 1:N).

The generated Excel file has several rows for every line from master report (Detail band) - one row for each subreport's line.

I need one row in Excel file for each report's line (row in Detail band), also each subreport in a cell not in a new line.

How I can do it?

My template:

enter image description here

Alex K
  • 22,315
  • 19
  • 108
  • 236
mario
  • 107
  • 1
  • 1
  • 4
  • In other words, you want to put some information from several fields (subreport's fields) in one cell, right? Can you post the screenshot of your target report's design? – Alex K Sep 19 '12 at 09:41
  • yes, exactly. i have a part of my report as screenshot uploded. – mario Sep 19 '12 at 10:14
  • IMHO, it is impossible without at least deep customizing of implementation Excel exporter (*JRXlsExporter* class) – Alex K Sep 19 '12 at 10:22
  • can i use a alternative possibility? – mario Sep 19 '12 at 10:28
  • BTW, you can look at [iReport: How to group several same value field into a single cell](http://stackoverflow.com/q/9798399/876298) post – Alex K Sep 27 '12 at 08:09

0 Answers0