Hi Concertina,
Although the variable text can be held in multiple different documents, it can just as easily be held in a single document - with each variant differentiated by a bookmark.
For separate documents, you might code the INCLUDETEXT field like:
{INCLUDETEXT "C:\\Users\\My Document Path\\SourceDocument{MERGEFIELD DocID}.doc"}
where the source documents are named 'SourceDocument1', 'SourceDocument2, ... 'SourceDocument100' and the DocID field in your data source returns the number that corresponds with these documents.
For use with a single, bookmarked, document, you might code the INCLUDETEXT field like:
{INCLUDETEXT "C:\\Users\\My Document Path\\SourceDocument.doc" "BkMk{MERGEFIELD BkMkID}"}
where the bookmarks in the source document are named 'BkMk1', 'BkMk2, ... 'BkMk100' and the BkMkID field in your data source returns the number that corresponds with these bookmarks.
Using a single separate document has significant advantages over using separate documents, especially when it comes to maintenance.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|