Avoid page break

  • Thread starter Thread starter Guest
  • Start date Start date
AhmtDY said:
How can I avoid a page break that split a control (text box) into two pages.

Please provide more information about the text box
(CanGrow?) and the section it's in (Detail?, KeepTogether?
CanGrow?) and anything else that will help us understand the
problem.
 
Can Grow: YES
Keep Together WITH FIRST DETAIL
Text box is at DETAIL section.

There are 5 reports that are linked with each other. They contain same
fields. Thus subreports have detail section only; they don't have header
section.
This text box may be 4 rows at most.

Thank you.
 
I still don't understand how the 5? reports show up in one
report. Maybe 4 of them are subreports in the main report's
detail section???

If you want to keep each of the subreports together on its
own so page breaks can only occur between the subreports,
then you need to put each subreport in its own section,
which is the smallest thing that has a KeepTogether
property.

This is done by creating addition group headers and footers
in the main report. Set the grouping field to be the
primary key of the main report detail records (in your case
two (or three) levels in Sorting and Grouping. then arrange
the subreports and the other controls into their own section
and set each section's KeepTogether property to Yes.
 
Back
Top