2002 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: marc - marcw718 print title and header if no data is returned 2003-01-10 13:10 If my query does not return any data, nothing gets printed in my report. How can I print the report title and column header when no data is returned from the query? I tied using: <band height="50"> <printWhenExpression>new Boolean("true" == "true")</printWhenExpression> but it does not work. Thanks, Marc By: Giulio Toffoli - gt78 RE: print title and header if no data is returned 2003-01-11 16:19 You must set tag: whenNoDataType in jasperReport element. Accepted values: NoPages [default] BlankPage AllSectionsNoDetail Ciao Giulio By: marc - marcw718 RE: print title and header if no data is returned 2003-01-13 06:52 Great, thanks for the help. That did it. -Marc 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