Minimum Widow Records property
The Minimum Widow Records property specifies the minimum number of instances
that should appear on the logical page where the repeating frame starts
to print. If the number of instances specified for this property cannot
fit on the logical page where the repeating frame is initially triggered
to print, then the repeating frame will start formatting on the next page.
If set to 1, there is no
minimum and the repeating frame will start formatting on any logical page
that can fit one instance.
Suppose that to improve the appearance of your report, you want to make sure
that you do not have the first instance of the repeating frame printed at the
bottom of a logical page, by itself. To make sure that there are at least two
instances on the logical page, you set Minimum Widow Records to 2.
Applies to |
Repeating frames |
Values |
a whole number from 2 through 32K |
The number of instances is the minimum that can be formatted
on a logical page. A blank value is not valid. |
0, 1 |
There is no minimum. |
|
Default |
0 |
Required/Optional |
Optional
|
Restrictions
- Minimum Widow Records applies only to the first
logical page on which the object is triggered to be printed. Minimum Widow
Records is ignored on subsequent pages.
- If Minimum Widow Records is greater than the total
number of instances of the repeating frame, then all instances must be
able to fit on the first logical page where the repeating frame is triggered
to format. If all instances cannot fit on the first logical page where
the repeating frame is triggered to format, the repeating frame will start
formatting on the next page.
Example
Suppose that you want all instances of a repeating frame to appear on
one logical page. To do this, you set Minimum Widow Records to a very
large number. If not all instances can fit on the first logical page where
the repeating frame is triggered to print, none will be formatted on that
page. Instead, they are all formatted on the next logical page. Notice,
though, that on the next and all subsequent pages, Minimum Widow Records
is ignored. Since you are starting with a fresh page, if all instances
cannot fit on that logical page, they will not all fit on any one logical
page anyway.
Copyright © 1984, 2005, Oracle. All rights reserved.