mike Posted November 20, 2006 Share Posted November 20, 2006 Hello, I am using this sentence "new Boolean(false)" in order to hide a Summary Band entering it by "Print When Expression". Which is the equivalent when write code from Scriptlet ? Any help is greatly appreciated. Link to comment Share on other sites More sharing options...
rsilverns.sympatico.ca Posted November 21, 2006 Share Posted November 21, 2006 Why don't you just delete the summary band? Set it's height to 0 or remove it from your structure all together (depending on the IDE your developing your reports with). Link to comment Share on other sites More sharing options...
mike Posted November 21, 2006 Author Share Posted November 21, 2006 I find another solution. I have a master report which have two subreports. Each subreport is call from a Group Band. I used a Scriptlet (Master Report) in order to query database to ask if exists rows, when data exists I print the Chart else I send new Boolean(false) in summary band. It works very Well! The error 'Null' key is gone. So, thanks for you answer. 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