Orphan subreport Header

G

Guest

I have a main report with mulitple subreports. The subreport has a
groupheader with column headers. There are cases when the subreport header
prints on the main report page without any detail lines. The detail lines
print onto the next page. How can I suppress the subreport header, if the
no detail data is printing with it. If I set the keep together property to
yes, this affected cases when there was enough room on the main report to
print part of the subreport.
 
M

Marshall Barton

Marilyn said:
I have a main report with mulitple subreports. The subreport has a
groupheader with column headers. There are cases when the subreport header
prints on the main report page without any detail lines. The detail lines
print onto the next page. How can I suppress the subreport header, if the
no detail data is printing with it. If I set the keep together property to
yes, this affected cases when there was enough room on the main report to
print part of the subreport.


Not quite sure what you want here, but I think you should
set the **group's** KeepTogether property to Whole Group or
With FIrst Detail.
 
G

Guest

I guess I am not clear as to what is occurring. The last subreport’s header
prints on the main report page without any detail lines. The detail lines
print on the next page. However, this does not occur in all the reports. It
only occurs when the subreport above this subreport (last subreport) has
sixteen or more rows of data. Anything less this amount, the header and
detail prints on the same page.
 
M

Marshall Barton

Are we talking about a group header or the report header? A
group header can be dealt with as I explained before. For
the report header, there is much less control of the
situation. It's either take your chances as you are now, or
play some games to get the entire subreport keep together.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top