A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Find Merge Fields



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2005, 02:46 PM
David C
external usenet poster
 
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  
Old April 29th, 2005, 08:42 PM
Doug Robbins
external usenet poster
 
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 11:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.