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