Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Scott Morgan
 
Posts: n/a
Default How to page break with mail merge

I am trying to use the Mail Merge function with Word to create letters. The
data source is an Excel file that looks like below: What I need to know how
to do is have the document merge the rows from excel until there is a change
in Custid. Once there is a change in the Custid, have it give a grand total
for the Total2005 and Total2004, then do a page break to start the next
document. I have it merging from excel, but its just merging one row at a
time, then does a page break. Any ideas?


Custid Name Status Dept DeptDesc Total2005 Total2004
000100 Test & ASSOCIATES INSURANCE 010 901 Personal Auto
$23,742.00 $36,267.00
000100 Test &ASSOCIATES INSURANCE AGENCY 010 903 Personal Property
$3,257.00 $5,395.00
000100 Test & ASSOCIATES INSURANCE AGENCY 010 922 Garage $8,978.00
$7,120.00
000100 Test & ASSOCIATES INSURANCE AGENCY 010 947 Property and
Casualty $26,744.00 $36,617.00
000102 Thomas
INSURANCE 010 903 Personal Property $3,254.00 $3,723.00
000102 Thomas
INSURANCE 010 922 Garage $0.00 $335.00
000102 Thomas
INSURANCE 010 933 MARINE AND SPORTS $204.25 $259.00
000102 Thomas
INSURANCE 010 947 Property and Casualty $22,908.00 $5,687.00
000103 Barney INC. 010 903 Personal Property $2,613.00 $2,042.00


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Scott Morgan
 
Posts: n/a
Default How to page break with mail merge

forgot something - The Custid and Names need to only print once on the
letter. Only the Dept Desc and Totals are the lines that would continue
merging until the Custid field changed.

"Scott Morgan" wrote in message
...
I am trying to use the Mail Merge function with Word to create letters.

The
data source is an Excel file that looks like below: What I need to know

how
to do is have the document merge the rows from excel until there is a

change
in Custid. Once there is a change in the Custid, have it give a grand

total
for the Total2005 and Total2004, then do a page break to start the next
document. I have it merging from excel, but its just merging one row at a
time, then does a page break. Any ideas?


Custid Name Status Dept DeptDesc Total2005 Total2004
000100 Test & ASSOCIATES INSURANCE 010 901 Personal Auto
$23,742.00 $36,267.00
000100 Test &ASSOCIATES INSURANCE AGENCY 010 903 Personal

Property
$3,257.00 $5,395.00
000100 Test & ASSOCIATES INSURANCE AGENCY 010 922 Garage

$8,978.00
$7,120.00
000100 Test & ASSOCIATES INSURANCE AGENCY 010 947 Property and
Casualty $26,744.00 $36,617.00
000102 Thomas
INSURANCE 010 903 Personal Property $3,254.00 $3,723.00
000102 Thomas
INSURANCE 010 922 Garage $0.00 $335.00
000102 Thomas
INSURANCE 010 933 MARINE AND SPORTS $204.25 $259.00
000102 Thomas
INSURANCE 010 947 Property and Casualty $22,908.00 $5,687.00
000103 Barney INC. 010 903 Personal Property $2,613.00 $2,042.00




  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
 
Posts: n/a
Default How to page break with mail merge

You are 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 Articles

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


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

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

"Scott Morgan" wrote in message
...
forgot something - The Custid and Names need to only print once on the
letter. Only the Dept Desc and Totals are the lines that would continue
merging until the Custid field changed.

"Scott Morgan" wrote in message
...
I am trying to use the Mail Merge function with Word to create letters.

The
data source is an Excel file that looks like below: What I need to know

how
to do is have the document merge the rows from excel until there is a

change
in Custid. Once there is a change in the Custid, have it give a grand

total
for the Total2005 and Total2004, then do a page break to start the next
document. I have it merging from excel, but its just merging one row at a
time, then does a page break. Any ideas?


Custid Name Status Dept DeptDesc Total2005 Total2004
000100 Test & ASSOCIATES INSURANCE 010 901 Personal Auto
$23,742.00 $36,267.00
000100 Test &ASSOCIATES INSURANCE AGENCY 010 903 Personal

Property
$3,257.00 $5,395.00
000100 Test & ASSOCIATES INSURANCE AGENCY 010 922 Garage

$8,978.00
$7,120.00
000100 Test & ASSOCIATES INSURANCE AGENCY 010 947 Property and
Casualty $26,744.00 $36,617.00
000102 Thomas
INSURANCE 010 903 Personal Property $3,254.00 $3,723.00
000102 Thomas
INSURANCE 010 922 Garage $0.00 $335.00
000102 Thomas
INSURANCE 010 933 MARINE AND SPORTS $204.25 $259.00
000102 Thomas
INSURANCE 010 947 Property and Casualty $22,908.00 $5,687.00
000103 Barney INC. 010 903 Personal Property $2,613.00
$2,042.00






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
Getting extra blank page at section break Kevin Formatting Long Documents 1 January 16th 06 03:25 PM
Can only print Current Page on very large mail merge Dal Microsoft Word Help 3 June 9th 05 03:25 PM
mail merge with attachments AS Mailmerge 5 April 9th 05 09:49 AM
section breaks change each time opening document Dave Microsoft Word Help 6 March 21st 05 11:01 AM
is it possible after a mail merge to save each page as a differen. charles Mailmerge 1 January 21st 05 01:28 AM


All times are GMT +1. The time now is 06:36 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"