include this attribute on all of your textField elements:
isBlankWhenNull="true"
include this attribute on your reportElement elements:
isRemoveLineWhenBlank="true"
This may not be relevant to your problem, because you're talking about subreports, but I wanted to send this just in case.
--
-dave
geek blog: http://spugbrap.blogspot.com
personal blog: http://spugbrap-personal.blogspot.com
family website: http://www.oatmealcookies.org
bookmarks: http://del.icio.us/spugbrap
On 6/7/06, John Dunn <[EMAIL PROTECTED]> wrote:
When my sub report generates no data (i.e report contains no pages), I just
get a line in the master report that says null for various data items.
Anyway I can suppress the subreport lines in this case?
Example report attached.
John Dunn
Product Consultant
Direct Dial +44 (0) 117 373 6122
Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK.
Tel: +44(0) 117 373 6114
Fax: +44 (0) 117 373 6115
www.sefas.com
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions
_______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions