If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Find Merge Fields
I am creating an Access application that creates Word documents from a
template. One of the templates is a Mail Merge template that we use in another process. Is there a way to "find" these fields and populate them with my current database records? I can do it fine with bookmarks but I really don't want to have 2 of the same template, one for bookmarks and one for mail merge. Even point me to some code samples if known. Thanks. David |
#2
|
|||
|
|||
If the mergefield names match the field names in your database, there is
nothing more that you would need to do other than to attach the table in the database as the datasource for the mailmerge main document. If the field names don't match, you could create a query in Access that had field names that do match. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "David C" wrote in message ... I am creating an Access application that creates Word documents from a template. One of the templates is a Mail Merge template that we use in another process. Is there a way to "find" these fields and populate them with my current database records? I can do it fine with bookmarks but I really don't want to have 2 of the same template, one for bookmarks and one for mail merge. Even point me to some code samples if known. Thanks. David |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't find locked fields | Ron Ford | Mailmerge | 0 | December 20th, 2004 05:57 PM |
mail merge main document. Word cannot find its data source | Marvin Herrera | Mailmerge | 1 | November 23rd, 2004 12:00 AM |
Merge Error: Record 1 contained too many data fields | Greg | Mailmerge | 1 | November 10th, 2004 04:07 PM |
Optional Merge Fields | Pete Bennett | Mailmerge | 4 | August 25th, 2004 11:03 AM |
unlinking merge fields | Help Me | General Discussion | 1 | August 6th, 2004 03:22 AM |