Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Avoiding "Widows and orphans"

edited April 2002 in General
In a report that is a sequence of TppDBText and stretchable TppDBMemo
components that produce a section title / paragraph text document style
output, is there a way to prevent what in word processing is called "widows
and orphans"?

That is how can I best control the report layout and page breaks so that
a) TppDBText does not appear on a page without *some* of the TppDBMemo text
beneath it
b) Only the last line of TppDBMemo does not appear on a page without some
more of the text above it.

I know that I could use a region and set keeptogether = true, but this just
leaves potential big gaps in the report as it tries to keep *all* the text
together. What I would like to do is like what the word processor does,
break the page so that "sufficient" text is positioned either side of the
break.

Any suggestions?

Sarah

Comments

This discussion has been closed.