Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-11-2012, 01:12 AM
macropod's Avatar
macropod macropod is online now How big can a mail merge field be? Windows 7 64bit How big can a mail merge field be? 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 Engineer,

If each table always lists the same items, you don't need either them or their contents to be in the data source. Rather, your data source can simply contain a code (eg A, B, C) in a field named 'table' or something such to tell Word which of a series of tables embedded in fields within it to display. Such a series of fields might be coded as:
{IF{MERGEFIELD Table}= "A" "Table for A"}{IF{MERGEFIELD Table}= "B" "Table for B"}{IF{MERGEFIELD Table}= "C" "Table for C"}
where the field brace pairs (ie '{ }') are created in the body of the document via Ctrl-F9 (Cmd-F9 on a Mac).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
time field issue in mail merge Aude Mail Merge 16 05-18-2014 06:22 AM
How big can a mail merge field be? Mail Merge - If a field is black, take the data from the row below? mikeprent Mail Merge 5 01-05-2012 04:52 AM
How big can a mail merge field be? HTML Content in Mail Merge Field Ilmater Mail Merge 1 09-04-2011 02:47 AM
How big can a mail merge field be? Mail merge erases field codes Medievalguy88 Mail Merge 1 08-11-2011 05:21 AM
Mail merge Field Code Manipulation macjnr Mail Merge 0 09-10-2009 11:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:20 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