Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / March 2008

Tip: Looking for answers? Try searching our database.

Merge field - Look up table problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amanda H - 27 Feb 2008 16:35 GMT
I have created a mail merge to an Access database query which included a
field from a look up table.  The look up table is set to display the long
name e.g. description of course, in the 2nd column in the look up table
rather than the 1st column the 'course code'.  This works in Access in the
personal details table and in the 'select' query to select the recipients.  
However, in the mail merge document the merge field dispays the course code
(the first column of the look up table) rather than the course name (the
second column of the look up table).  

How can I change or formatt the merge field to display the course name
rather than the course code?

Any help would be gratfuly received.
Doug Robbins - Word MVP - 27 Feb 2008 18:58 GMT
Use an Access select query as the datasource and design that query show that
it shows the fields that you require in the mailmerge.

Signature

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

>I have created a mail merge to an Access database query which included a
> field from a look up table.  The look up table is set to display the long
[quoted text clipped - 10 lines]
>
> Any help would be gratfuly received.
Amanda H - 03 Mar 2008 09:29 GMT
Doug,

Thank you for your reply.  

I have set up the merge to a query - in order to select the recipients - the
query shows the course name (i.e. the second column of the look up table)
rather than the course code (the first column of the look up table).  

The frustrating thing is, I am sure I have done a mailmerge like this in the
past and it worked fine.  I suspect it is something to do with the field
format in the mail merge itself, but can not remember how to change it.

Perhaps I need to rebuild the look up table?

Regards

Amanda

> Use an Access select query as the datasource and design that query show that
> it shows the fields that you require in the mailmerge.
[quoted text clipped - 13 lines]
> >
> > Any help would be gratfuly received.
Doug Robbins - Word MVP - 03 Mar 2008 12:07 GMT
I assume that what you have is a table with names of people and the ID of
the course that they are attending and then another table with ID of each
course in one column and the name of the course in the other column and
that in the query, you have a link between the Course ID field in each of
the tables and you are displaying the names of the people and the names of
the courses.  If that is the case, in the merge document, it is the field
that displays the name of the course that you should be inserting.

What are the names of the fields in the query that does show the correct
data?

And, what are the names of the merge fields that you have in the document?

I do not think that it is anything to do with the field format in the mail
merge main document, the field name, more likely.

Signature

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

> Doug,
>
[quoted text clipped - 38 lines]
>> >
>> > Any help would be gratfuly received.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.