Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Pat Flynn Pat Flynn is offline
external usenet poster
 
Posts: 3
Default Multiple Lines of Data from single Heading

Need my merge document to include all the rows from database under same unit
number. Add new merge document with info when unit number changes.
101 Hudson, WI
101 Alexandria, MN
103 Battle Creek, MI
104 New Orleans, LA
104 San Francisco, CA
Each new unit number should trigger a new mail merge document that includes
both trips for 101/104 & single record for 104.
Can the next if field accomplish this?
Thanks in advance.
Pat
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Multiple Lines of Data from single Heading

Sounds like you are probably trying to perform a "multiple items per
condition (=key field)" mailmerge which Word does not really have the
ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindy...faq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default...b;en-us;211303

or at:

http://cornell.veplan.net/article.aspx?&a=3815


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Pat Flynn" wrote in message
...
Need my merge document to include all the rows from database under same
unit
number. Add new merge document with info when unit number changes.
101 Hudson, WI
101 Alexandria, MN
103 Battle Creek, MI
104 New Orleans, LA
104 San Francisco, CA
Each new unit number should trigger a new mail merge document that
includes
both trips for 101/104 & single record for 104.
Can the next if field accomplish this?
Thanks in advance.
Pat



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Pat Flynn Pat Flynn is offline
external usenet poster
 
Posts: 3
Default Multiple Lines of Data from single Heading

thanks for the response Doug, The Cornell U example works just fine for me.
How do I format a phone numbe from excel in mail merge? I used a switch
\#(##0) ##0-###0. Doesn't work- (xxx) xxx-xxxx.
Thanks

"Doug Robbins - Word MVP" wrote:

Sounds like you are probably trying to perform a "multiple items per
condition (=key field)" mailmerge which Word does not really have the
ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindy...faq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default...b;en-us;211303

or at:

http://cornell.veplan.net/article.aspx?&a=3815


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Pat Flynn" wrote in message
...
Need my merge document to include all the rows from database under same
unit
number. Add new merge document with info when unit number changes.
101 Hudson, WI
101 Alexandria, MN
103 Battle Creek, MI
104 New Orleans, LA
104 San Francisco, CA
Each new unit number should trigger a new mail merge document that
includes
both trips for 101/104 & single record for 104.
Can the next if field accomplish this?
Thanks in advance.
Pat




  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Multiple Lines of Data from single Heading

1. If you have spaces in your format switch you'll need to surroung the
whole format with double quotes.

2. if you /always/ want leading zeroes, use 0 rather than #

3. Within the format, you may need to surround a hyphen with single quotes

So maybe

\# "(000) 000'-'0000"

Peter Jamieson

"Pat Flynn" wrote in message
...
thanks for the response Doug, The Cornell U example works just fine for
me.
How do I format a phone numbe from excel in mail merge? I used a switch
\#(##0) ##0-###0. Doesn't work- (xxx) xxx-xxxx.
Thanks

"Doug Robbins - Word MVP" wrote:

Sounds like you are probably trying to perform a "multiple items per
condition (=key field)" mailmerge which Word does not really have the
ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindy...faq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default...b;en-us;211303

or at:

http://cornell.veplan.net/article.aspx?&a=3815


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Pat Flynn" wrote in message
...
Need my merge document to include all the rows from database under same
unit
number. Add new merge document with info when unit number changes.
101 Hudson, WI
101 Alexandria, MN
103 Battle Creek, MI
104 New Orleans, LA
104 San Francisco, CA
Each new unit number should trigger a new mail merge document that
includes
both trips for 101/104 & single record for 104.
Can the next if field accomplish this?
Thanks in advance.
Pat






  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Pat Flynn Pat Flynn is offline
external usenet poster
 
Posts: 3
Default Multiple Lines of Data from single Heading

Gracias a mi amigo. Worked well.

"Peter Jamieson" wrote:

1. If you have spaces in your format switch you'll need to surroung the
whole format with double quotes.

2. if you /always/ want leading zeroes, use 0 rather than #

3. Within the format, you may need to surround a hyphen with single quotes

So maybe

\# "(000) 000'-'0000"

Peter Jamieson

"Pat Flynn" wrote in message
...
thanks for the response Doug, The Cornell U example works just fine for
me.
How do I format a phone numbe from excel in mail merge? I used a switch
\#(##0) ##0-###0. Doesn't work- (xxx) xxx-xxxx.
Thanks

"Doug Robbins - Word MVP" wrote:

Sounds like you are probably trying to perform a "multiple items per
condition (=key field)" mailmerge which Word does not really have the
ability to do:

See the "Group Multiple items for a single condition" item on fellow MVP
Cindy Meister's website at

http://homepage.swissonline.ch/cindy...faq1.htm#DBPic


Or take a look at the following Knowledge Base Article

http://support.microsoft.com/default...b;en-us;211303

or at:

http://cornell.veplan.net/article.aspx?&a=3815


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Pat Flynn" wrote in message
...
Need my merge document to include all the rows from database under same
unit
number. Add new merge document with info when unit number changes.
101 Hudson, WI
101 Alexandria, MN
103 Battle Creek, MI
104 New Orleans, LA
104 San Francisco, CA
Each new unit number should trigger a new mail merge document that
includes
both trips for 101/104 & single record for 104.
Can the next if field accomplish this?
Thanks in advance.
Pat






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
Why does a single mouse click select multiple lines? EL3888 Microsoft Word Help 1 May 18th 06 01:41 PM
Single document, multiple (auto) heading styles MacGyverS2000 Page Layout 1 November 10th 05 02:27 PM
Combining multiple data lines for same company to single MS Word d vmk Mailmerge 1 July 8th 05 04:45 AM
Single Toc Item from Two Heading Lines [email protected] Microsoft Word Help 3 May 13th 05 04:08 PM
Convert multiple lines of text to a single cell in a table Dan_unique Tables 3 April 17th 05 05:15 PM


All times are GMT +1. The time now is 05:37 PM.

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"