I have a report which displays the figures for one company branch per page. Currently there's a page break after each branch's total.
My boss has requested that, if there are only two or three records per branch, the page break wait until after, say, five branches.
Is there some way to set a conditional page break of this type?
If so, what should I be looking for?
I have a vague idea, along the lines of
But I have no idea how to implement this.
As usual, any pointers are gratefully appreciated.
My boss has requested that, if there are only two or three records per branch, the page break wait until after, say, five branches.
Is there some way to set a conditional page break of this type?
If so, what should I be looking for?
I have a vague idea, along the lines of
Code:
If (the number of totals > 5) or (number of records > 20) Then
Page Break
else
No Page Break
end if
As usual, any pointers are gratefully appreciated.