2006 IR Open Dicussion Posted August 16, 2006 Share Posted August 16, 2006 By: Pinkal Shukla - pinkal help for printWhenExpression 2002-12-11 12:11 can anybody help for printwhenExpession giving example By: Chuck Deal - cdeal RE: help for printWhenExpression 2002-12-11 12:39 This sample is directly from the FirstJasper.xml <rectangle> <reportElement x="0" y="5" width="1" height="1" forecolor="#FF0000" backcolor="#FF0000"> <printWhenExpression>new Boolean($F{OrderID}.intValue() % 10 == 0)</printWhenExpression> </reportElement> <graphicElement stretchType="NoStretch"/> </rectangle> The basic idea is to have an expression that evaluates to a Boolean value Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now