![]() |
#2
|
||||
|
||||
![]()
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] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
time field issue in mail merge | Aude | Mail Merge | 16 | 05-18-2014 06:22 AM |
![]() |
mikeprent | Mail Merge | 5 | 01-05-2012 04:52 AM |
![]() |
Ilmater | Mail Merge | 1 | 09-04-2011 02:47 AM |
![]() |
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 |