2 merges on 1 document

J

JKarchner

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.
 
P

Peter Jamieson

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
 
J

JKarchner

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
 
P

Peter Jamieson

You may be able to improve the approach a bit by using a nested field like
the following at the beginning of your mail merge main document

{ IF { MERGESEQ } = 1 "{ toc ...whatever... }" "" }
or
{ IF { MERGEREC } = 1 "{ toc ...whatever... }" "" }
but I haven't tried it.

Peter Jamieson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top