Orphan subreport Header

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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.
 
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.
 
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.
 
Back
Top