jambalaya Posted August 21, 2009 Share Posted August 21, 2009 Hi. I have a report that has a simple list in the detail band. The list are text fields and an Image. Sometimes the fields are printed on one page, but the image overflows to another page. Is there a way to force that a whole band should be printed on a single page?While I am on images, I would like to ask one more thing - one of the settings is onErrorType=icon. I set this, and some of the images are null in the data source. However, there is no icon, the image field is simply empty. What am I doing wrong here?Best regards. Link to comment Share on other sites More sharing options...
teodord Posted August 21, 2009 Share Posted August 21, 2009 Hi, You should use splitType="Prevent" for your band containing the list and the image.If you are using older JR, the setting would be isSplitAllowed="false" for the band. Not sure about the null images, we need a test case. Might be that null images are not broken images for the engine.So you might want to make a test for null and display the icon conditionally yourself. Thank you,Teodor Link to comment Share on other sites More sharing options...
jambalaya Posted August 24, 2009 Author Share Posted August 24, 2009 Hi,thank you for your answer, the trick worked fine.Not sure about the pictures, but as we have our own "not-available" image I will not look into that, will do it when it's necessary.Regards. 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