jbeausse Posted January 3, 2007 Share Posted January 3, 2007 Hi all, My objective is very simple : display a "no data found" message in a report when no data is available. I use velocity to generate JRXML dynamically, and this message might be used in different contexts (subreports, etc.). The solution I found : Code: Imagine that this detail is displayed in a subreport, and that I don't have enough space to display the first element (end of a page). My problem is that even if I use the "Report" evaluationTime in my textField, it seems that the printWhenExpression is evaluated *at the end of each column*, so if there is not enough space to display an element, the message is displayed (see attachment). PS : I'd prefer not to use a summary section/fake group since it complicates my work a lot ! Thn'x Julien JR version : 1.2.8 Post edited by: jbeausse, at: 2007/01/03 13:08 Link to comment Share on other sites More sharing options...
jbeausse Posted January 3, 2007 Author Share Posted January 3, 2007 here is the attachment... [file name=pb_no_data_found.png size=161313] 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