 |
|
|
|
 |
How do I control where the page breaks will fall in a table which extends over several pages?
|
Article contributed by Suzanne S. Barnhill
and Dave Rado
The article “Keeping
a table together on one page” (which you should read first) describes some
of the basic techniques for controlling page breaks in tables. This article
addresses problems that arise when a table extends over more than one page.
These include the following:
Setting a page break at a
specific row
Often you will want to break a table
at a specific point regardless of how the rest of the table flows on adjacent
pages. This requires more than just the judicious use of the “Keep with next”
property as described in “Keeping
a table together on one page.” But if you insert a manual page break, you
will find that you have split the table: headings will no longer repeat, and you
cannot select a column in the entire table since it is now two tables.
Luckily, there is another way to
achieve the desired effect. If you apply the “Page break before” property to row
you want to be on a new page, you will get a page break without splitting the
table.
Unexpected page
breaks
Sometimes a slight change, such as
adding a row or adding text to an existing row, will cause a large portion of
the table to jump to the next page. There are several possible causes of this
problem.
- First, check that you don't have all the rows in your
table set to “Keep with Next.” Although this is far and away the most common
cause of unwanted page breaks in tables, it can be more difficult to
ascertain than you might imagine. If even a single paragraph in any row has
this property enabled, it can affect the entire row. If you have merged
cells vertically, this complicates the issue. So you need to check
every paragraph.
Note:
To save time and trouble in checking each paragraph, you may want to add a
toolbar button for this property (see “Custom
Toolbar Buttons”). Because this button is a toggle, you can easily tell
whether it is turned ON or OFF when you click in a given paragraph.
- If that isn’t the cause of the problem,
check whether your rows are set to “Allow row to break across pages.” If the
height of any of the rows is too large, and it’s been set not to break
across pages, this can cause the table to split inconveniently.3.
If you are using Word 2000
or above, you should also check the setting for “Text wrapping” on the
Table tab of the Table
Properties dialog. If the wrapping is set to “Around,” your table will
be enclosed in a hidden frame; and tables in frames cannot break across
pages. If you set the “Wrapping” to “None”, the problem should go away.
Specific problems with wrapped tables
Unfortunately, in Word 2000 and above,
it is all too easy to wrap a table by accident; if you drag the “table handle”
in the top left corner of a table, even by the tiniest amount, it becomes
wrapped, and, what's worse, there's no obvious sign that anything has
changed—not one of Microsoft's brightest ideas!
Having said that, one way you can
tell (short of accessing Table Properties) is to try to select a row.
If it's inline, this is easy—just click anywhere in the left margin. With
wrapped tables, that doesn't work; there is a “hot zone” that ends about 2mm to
the left of the table. and you have to click within that zone in order to select
a row. Click any further to the left and you'll select some text below the table
instead! So if you find you can't select your rows easily, you know your table
is wrapped.
Unless you have a very good reason for
wanting to have text wrapping on (such as wanting to position two short tables
side by side), wrapped tables should be avoided at all costs. One way to avoid
nudging a table handle and inadvertently causing the table to become wrapped is
to work in Normal (Draft) view; the table handle is not available in that view,
so the table cannot be dragged.
Note:
If you are using Word 97, and open a document that was
originally created in Word 2000 or above, any wrapped tables will appear in a
frame—with the same undesirable side-effects as in the later versions. To remove
the frame, select it and then select
Format | Frame: Remove Frame.
There are two specific issues that
arise from (often inadvertent) table wrapping:
-
Tables don’t break. In Word
2000, wrapped tables cannot break across pages (needless to say, this is
true of tables in frames in earlier versions). If a long table has
inadvertently become wrapped, it will just extend off the bottom of the
page. Although the entire table can be seen in Normal view, it will not
print.
Note:
Word 2002 and above allow wrapped tables to break across pages. Because this
feature is not backward-compatible, it is not recommended and should be disabled
by checking the box for “Don’t break wrapped tables across pages” in
Tools | Options | Compatibility (Word
2002/2003) or Office Button | Word
Options | Advanced | Layout Options (Word 2007).
-
Heading rows don’t repeat.
If a table has been split and then rejoined (by deleting the intervening
Normal paragraph), it may continue to behave as if still split, with the
result that heading rows are not repeated on the next page. A common reason
for this is that one or both of the tables have become wrapped. Restoring
the wrapping to “None” will usually solve the problem.
Note:
Another, more subtle cause of the problem of tables failing to join is that rows
in the middle of the table (that is, rows that are not at the top) have been
tagged as heading rows. This more commonly occurs when you try to join two
tables originally created as separate tables.
|





|