Thread: [Solved] header/footer doc merge
View Single Post
 
Old 12-07-2011, 04:53 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi mrtinfl,

Without even viewing the demo, I can tell you the problem is with the IF field. That's because it gets evaluated and converted to plain text immediately the merge for each record begins.

You need an approach that avoids the IF field. Try using just a single Section with the footer field coded as:
{={SECTIONPAGES}-{PAGE} \# "'Continued...';;"}
for a letter or label merge, or:
{={NUMPAGES}-{PAGE} \# "'Continued...';;"}
for a Directory or Catalogue merge.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote