views:

60

answers:

1

Is there any way to determine if a page has any content? I am running into a sporadic issue where in my 4-page report I will ocassionally get a blank detail section (header/footer displayed) before going on to the next page. I think it occurs because I have a sub-report on the 3rd page that might push down a little too far depending on its content.

Anyways, I was thinking if I could determine if the detail was empty, I might be able to supress its creation.

thoughts, ideas, suggestions?

+1  A: 

There is no way to tell if that section is blank. However, what you're explaining shouldn't happen. Try setting the parent report's Detail section's KeepTogether to false. If it isn't absolutely necessary try setting the GroupKeepTogether property on the group header to false and see if that makes it go away.

The most common reason for a blank page is that the LeftMargin+PrintWidth+RightMargin > Actual Page Width

Make sure this isn't affecting you.

Finally, if you can manage to reproduce this consistently and send us a sample, post it on the ActiveReports support forum and one of us will help you get it resolved.

Scott Willeke
GrapeCity
scott
I found the problem. To guarentee that I would always get a page break after the sub-report, I put the page break IN the sub-report at the bottom instead of after the sub-report in the main report. The footer of the sub-report had about a 1/4in space/blank line at the bottom of it and THIS was the problem since when I put a '.' in it that was what showed up on the 'blank' page.many thanks!
SomeMiscGuy