Hi Group:
 
I have created a report where I want one of the columns (say col3) to be 
printed in a blue bold font when certain condition is satisfied else I want 
them to be printed in normal black font.  
 
I have included the following expression in the <printWhenExpression> tag in 
the <reportElement> tag....
 
new Boolean(!($F{col1}.equalsIgnoreCase("N/A")) && 
!($F{col2}.equalsIgnoreCase("N/A")))
 
When I run the report only those values which qualify for the above expression 
are printed and the rest are not printed in the report and left blank....
 
Am I missing something here....?
 
Regards,
BalaKishore




"Peace is found not in what surrounds us, but in what we hold within."

--- On Fri, 9/19/08, jamshaid ashraf <[EMAIL PROTECTED]> wrote:

From: jamshaid ashraf <[EMAIL PROTECTED]>
Subject: Re: [jasperreports-questions] avoid extra blank space in reports...
To: [EMAIL PROTECTED]
Date: Friday, September 19, 2008, 8:58 AM






Hi,

Check the remove line when empty option , i think this will work.

cheers.
jimmy

--- On Wed, 17/9/08, BalaKishore Pamarti <[EMAIL PROTECTED]> wrote:

From: BalaKishore Pamarti <[EMAIL PROTECTED]>
Subject: [jasperreports-questions] avoid extra blank space in reports...
To: jasperreports-questions@lists.sourceforge.net
Date: Wednesday, 17 September, 2008, 6:50 PM







Hello:
 
I created a jasperreport with a subreport embedded beneath every row in the 
main report. Everything works fine but there is an extra white space beneath 
every row in the main report when there is no data in the subreport.
 
And also in other reports I noticed that there is extra space left unfilled in 
the detail section eventhough there is space to fit in couple of rows of data.
 
I am sure there has to be some setting to eliminate this whitespace ... can 
anyone shed some light on this...
 
Thanks a lot!


"Peace is found not in what surrounds us, but in what we hold within."
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



Unlimited freedom, unlimited storage. Get it now


      
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

Reply via email to