D
doyle60
I have a report that prints out orders and it has a section,
groupfooter2, in it for a sub report.
Sometimes there is no data in the sub report and that is fine.
All works well except for one thing: When the last order in a range
picked in a Print form does not have data for the sub, the report
prints out a blank last page. So a 10 page report becomes 11 pages
and a 4 page report prints out 5 pages. But if the last order has
data in the sub, it doesn't produce a blank last page.
For the life of me, I can't shake the last page from this report.
The sub is in groupfooter2 and is the only other section other than
the detail section.
The Sub section is the first section of the sorting and grouping
window. This may seem odd but sometimes two or more orders share this
sub data which is a long memo.
So I have it printing out like this, where the numbers are POs:
74776
74777
74778
Memo for 74777 and 74778
74779
Memo for 74779
74780
74781
There is a sub in the sub for explaining which POs the Memo belongs to
so there is no confusion there.
So all works just wonderfully. But that last blank page is bothering
me.
Any ideas what it is?
If I delete the sub but leave the footer: The blank appears.
If I delete the footer altogether: The blank disappears.
If I make the section invisible: The blank appears.
If I make the height of the section zero but leave the sub there: The
blank appears.
Matt
groupfooter2, in it for a sub report.
Sometimes there is no data in the sub report and that is fine.
All works well except for one thing: When the last order in a range
picked in a Print form does not have data for the sub, the report
prints out a blank last page. So a 10 page report becomes 11 pages
and a 4 page report prints out 5 pages. But if the last order has
data in the sub, it doesn't produce a blank last page.
For the life of me, I can't shake the last page from this report.
The sub is in groupfooter2 and is the only other section other than
the detail section.
The Sub section is the first section of the sorting and grouping
window. This may seem odd but sometimes two or more orders share this
sub data which is a long memo.
So I have it printing out like this, where the numbers are POs:
74776
74777
74778
Memo for 74777 and 74778
74779
Memo for 74779
74780
74781
There is a sub in the sub for explaining which POs the Memo belongs to
so there is no confusion there.
So all works just wonderfully. But that last blank page is bothering
me.
Any ideas what it is?
If I delete the sub but leave the footer: The blank appears.
If I delete the footer altogether: The blank disappears.
If I make the section invisible: The blank appears.
If I make the height of the section zero but leave the sub there: The
blank appears.
Matt