keyongtech


  keyongtech > java > 02/2007

 #1  
02-06-07, 08:18 AM
mico
Hello,

I have a complex report, containing several subreports with titles and
details. But if database returns no records for the subreport it does
not generated and not displayed in the main report. How to make
subreport show something even if no data was received, e.g.
subreport's title and label 'No data' ?

Thanks
 #2  
02-06-07, 08:53 AM
mico
There is an option in report's property -
"If no data then show all sections, not details" but that seems not
enough if I want to display a label there if no data.
 #3  
02-07-07, 11:05 AM
Ingo R. Homann
Hi,

mico wrote:
> There is an option in report's property -
> "If no data then show all sections, not details" but that seems not
> enough if I want to display a label there if no data.


I am not sure if there is a solution for your problem.

But similar problems with JasperReports caused me to forget it and use
iText instead wich is much more flexible. Note that iText is the library
on which JasperReports is based.

Ciao,
Ingo
Similar Threads
[PHP] PHP - Jasper Report Integeration

Dear All, Do any one know how to integrate PHP with Jasper Reports. I tried it..but its says "Unable to create Java Virtual Machine " Please refer this link for more...

Hide Main Report Page Footer on Subreport pages

Okay. I have a report which contains a subreport in a group footer section, so that the Main Report is like a summary and then there is a page break in the group footer...

Report with Single Subreport Printing Multiple Pages of Same Data

I know this is going to be a simple solution for someone in the community, but having a problem with a Report producing more pages of information than needs to. I am...

Hide Main report Page Footer If subreport spans multiple pages?

I have a report that displays invoices for given customers. The report is grouped by customer. Sometimes the invoice details (subreport) spans across a second page. I...

Jasper pre-compile include JSP pages?

Hi, I have a problem where Tomcat's Jasper seems to pre-compile include JSP pages rather than merging them into the main JSP before compiling them as an entire page. Having...


All times are GMT. The time now is 09:52 PM. | Privacy Policy