wegnerk Posted October 12, 2006 Share Posted October 12, 2006 Hi all.. i have a report which can be generated also with an empty dataset. For that, i took this configuration: whenNoDataType="AllSectionsNoDetail" but is it possible, to set a specific text (which comes over a parameter), when there are no data to fill the report? Any ideas? @edit....i have integrated a parameter in the groupheader. Now i need a possibility to set a printWhenExpression like "Print this, when there is no data"... Can anyone help me?Post edited by: wegnerk, at: 2006/10/12 12:17 Link to comment Share on other sites More sharing options...
lucianc Posted October 12, 2006 Share Posted October 12, 2006 You should place the text in the summary section (or in a fake summary section) and use Boolean.valueOf($V{REPORT_COUNT}.intValue() == 0) as prinWhenExpression. HTH,Lucian Link to comment Share on other sites More sharing options...
wegnerk Posted October 12, 2006 Author Share Posted October 12, 2006 Thanks a lot!!! it works now... i am so blind sometimes ;-) 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