View Single Post
  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
JKarchner JKarchner is offline
external usenet poster
 
Posts: 23
Default 2 merges on 1 document

thank you very much. the only reason i was looking for another merge was
that i would like to have automated as much as i could have. i spend a lot
of time typing and would prefer to simplify things as much as possible. i
have created a DB to store all the data in, and now i would make everything
as simple as possible. and before that, i know that the TOC was created
using a table and i would have like to automated the creation of the table.
but oh well. i guess with everything else being automated, this is much easier

"Peter Jamieson" wrote:

Doing another merge is probably not what you need.

How are you inserting the "table name" and where are the table names?
Assuming each one is in a paragraph on its own, all you probably need to do
is to apply a heading paragraph style (say, Heading 1) to the paragraph in
the Mail merge main document. When you merge to a new document, each table
name will then be formatted as heading 1. You can then (manually) insert a
TOC field at the top of the document (e.g. { TOC \o "1-1" \h \z \u }),
select it, press F9 to update it, answer the question, and you should have a
ToC. If you have a look at Word Help for ToC fields you will see all the
options available to you.

(To insert the field, use ctrl-F9 to insert the {} and type the rest. But
when you have decided what field you need, you can create an Autotext from
it, which should make it easier to insert in the output.)

Peter Jamieson

"JKarchner" wrote in message
...
Is it possible to have 2 mail merges on the same document? I would like
to
have a table of contents section that proceeds the data tables. I
currently
have the data tables displaying all of the data from Access. I would like
to
create a table of contents section that will show each table name and
where
they appear in the section. If anyone can help with this problem let me
know. Thanks in advance.