Keeping/Splitting Information Across Pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that has a group that I created to display a footer (=1). In
that footer I have labels that act as column headings. Directly under the
labels is a sub-report that prints the rows of data. The data may span
across several pages, but I only want the labels to print once. The labels
will either print near the bottom of the first page or at the top of the
second page, but the labels cannot be on the page without at least 1 row of
data from the sub-report The problem I am having is when I set the property
value "Keep Together" to "YES", the labels and the data does not start
printing until the second page, even though there is enough space on the
first page to print the labels and at least 1 row of data. If I set the
"Keep Together" property vlaue to "NO", I get the labels printing at the
bottom of the first page without a row of data. Is there a way to determine
where on a page the labels will print, and move them to the second page if
there is not enough space for at least 1 row of data from the sub-report.

------- =1 Footer -----------------
Label 1

Label 2 Label 3 Label 4

***** sub-report *****************

I hope this explanation is understandable.

Thanks in advance!

Dwight
 
Dwight said:
I have a report that has a group that I created to display a footer (=1). In
that footer I have labels that act as column headings. Directly under the
labels is a sub-report that prints the rows of data. The data may span
across several pages, but I only want the labels to print once. The labels
will either print near the bottom of the first page or at the top of the
second page, but the labels cannot be on the page without at least 1 row of
data from the sub-report The problem I am having is when I set the property
value "Keep Together" to "YES", the labels and the data does not start
printing until the second page, even though there is enough space on the
first page to print the labels and at least 1 row of data. If I set the
"Keep Together" property vlaue to "NO", I get the labels printing at the
bottom of the first page without a row of data. Is there a way to determine
where on a page the labels will print, and move them to the second page if
there is not enough space for at least 1 row of data from the sub-report.

------- =1 Footer -----------------
Label 1

Label 2 Label 3 Label 4

***** sub-report *****************


Try setting the **group** KeepTogether property (in Sorting
and Grouping) to With First Detail.
 
Back
Top