daniel.ostman Posted March 1, 2016 Posted March 1, 2016 I have a group header which contains a title, a short description and then in the details band I print out the content.I've set it up so that for each new group (grouped by title) it should start on a new page. Now I want to make sure that I don't print the title and the short description if I don't have any content related to it. So I've made a field which checks for a unique id in the content and use that field in the group band properties print when expression and in my details band print when expression.And that works, I no longer print the title and short description if there is no content related to it. Here's the problem, with this setup I get a lot of empty pages inside my report where it originally printed the title and short description without content. If I remove the Start New Page option in my group I no longer get these empty pages. So somehow my group starts a new page before checking my print when expression, then checks it and decides not to print the groups content.Have I've done something wrong or is there any way to bypass this behavior?
szaharia Posted March 1, 2016 Posted March 1, 2016 Hi,a possibility would be to use a filter expression in your dataset, in order to exclude those records with no relevant content.I hope this helps,Sanda
Solution hozawa Posted March 2, 2016 Solution Posted March 2, 2016 Instead of setting Start New Page option, how about just using the "break" component with Print When Expression.
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