When printing some detail rows in group i've encountered a problem.
Example: I'm trying to set first row on each page to be black others white
Let's say the detail has two frames, one of which is white, one is black. The frames have print when expression set to a Boolean variable that has initial expression "false", expression "true" and resetType "Page". Before this value evaluates we create another variable that has this variable as expression. This variable should result to false on first detail row on each page and true for other rows.
That means first row in a new page should always be black and others should be white. This works.
Problem is when we check the option "Prevent orphan footer" in a group and that footer happens to be orphaned, it takes the last row of detail to the new page. That detail row is then white, variable is not reset to its initial state even though it's on a new page. Second row is black.
OR Easier example would be print variable PAGE_NUMBER in detail row, when the "Prevent orphan footer" prevents orphaned footer, the row on new page doesn't have updated page number.
Prevent orphan footer in group takes the detail row from last page but doesn't re-evaluate the variables.
Recommended Comments
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