Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
JKarchner JKarchner is offline
external usenet poster
 
Posts: 23
Default 2 merges on 1 document

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.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default 2 merges on 1 document

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.



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




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default 2 merges on 1 document

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
"JKarchner" wrote in message
...
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.






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine multiple merges into one document kaufmed Mailmerge 2 May 14th 06 11:16 AM
Word 2003 [email protected] Microsoft Word Help 39 April 19th 06 06:35 PM
Setting title document property affects retrieval of author [email protected] Microsoft Word Help 0 January 25th 06 07:06 AM
Add checkboxes with macro in Merge document? Bryan L Tables 3 October 19th 05 04:05 PM
Document Map Question PosseJohn Page Layout 2 March 23rd 05 02:27 PM


All times are GMT +1. The time now is 12:08 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"