Reply
 
Thread Tools Display Modes
  #1   Report Post  
David C
 
Posts: n/a
Default 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   Report Post  
Doug Robbins
 
Posts: n/a
Default

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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASK and FILLIN fields in INCLUDETEXT documents do not merge correc ChrisM Mailmerge 3 April 12th 05 04:05 AM
Lost form fields after merge Darryl Kerkeslager Mailmerge 4 March 11th 05 01:42 AM
Can you create a multi-layered merge where certain merge fields a. mileszat Mailmerge 3 January 18th 05 03:46 AM
Can't find locked fields Ron Ford Mailmerge 0 December 20th 04 05:57 PM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM


All times are GMT +1. The time now is 02:50 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"