Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-08-2014, 02:59 PM
macropod's Avatar
macropod macropod is offline Mail merge how to link mail merge field value to a column heading Windows 7 32bit Mail merge how to link mail merge field value to a column heading 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

To do this, you would have to redesign your document so that each row in the sub-tables is a separate table in its own right and embed that one-row table in a field coded along the lines of:
{IF{MERGEFIELD Fig__Red_Wine}> 0 "|Fig & Red Wine|{MERGEFIELD Fig__Red_Wine}|"}
where the '{}' represent the field brace pairs and the '|' represents the left/right cell borders.

Along the same lines, if you want to suppress the headings also when all rows for a sub-table are empty, you'd need to embed that in a field coded along the lines of:
{IF{={IF{MERGEFIELD Fig__Red_Wine}= 0 0 1}+{IF{MERGEFIELD Rustic_French}= 0 0 1}+{IF{MERGEFIELD MultiSeed}= 0 0 1}+{IF{MERGEFIELD Focaccia}= 0 0 1}}> 0 "|Bread|"}
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail merge how to link mail merge field value to a column heading mail merge using data from column A as placeholder. keys Mail Merge 2 10-31-2013 01:55 AM
Mail merge how to link mail merge field value to a column heading How to ignore a mail merge field if the field is blank redzan Mail Merge 1 05-16-2013 08:34 AM
Mail merge how to link mail merge field value to a column heading How big can a mail merge field be? Engineer Mail Merge 2 12-11-2012 01:20 AM
Mail merge how to link mail merge field value to a column heading Mail Merge / DSN / Data Link / MySQL Bob Young Mail Merge 5 05-18-2012 03:44 PM
Mail Merge Anchoring column layouts HWSpencer Mail Merge 0 04-25-2008 06:08 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft