Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
workliveplay workliveplay is offline
external usenet poster
 
Posts: 5
Default Bogus Mail Merge Results

After merging a query from MS Access 2003 to MS Word 2003 I get the auto
number from the table that is a lookup for another table. The query shows the
correct information but the merge results in the auto number associated with
the correct information.

Any help is much appreciated!
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Bogus Mail Merge Results

Can you tell us what the SQL for your query is? Does it just select all the
fields in the table that references the lookup? If so, you probably need to
do an explicit join with the lookup table, e.g. instead of

SELECT x.* FROM tablex x ?

try

SELECT x.*, y.* FROM tablex x INNER JOIN tabley y ON x.lookupIDfield =
y.lookupIDfield

or the old-fashioned way

SELECT x.*, y.* FROM tablex x, tabley y WHERE x.lookupIDfield =
y.lookupIDfield

I don't know if that wil fix the problem but it's probably what I would try
in the first instance.

Peter Jamieson

"workliveplay" wrote in message
...
After merging a query from MS Access 2003 to MS Word 2003 I get the auto
number from the table that is a lookup for another table. The query shows
the
correct information but the merge results in the auto number associated
with
the correct information.

Any help is much appreciated!



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
How do I mail merge to EMAIL from MS Word AND add a pdf attachment Lily@Insight Mailmerge 24 January 15th 07 09:33 PM
printing difficultiies using mail merge in word flybynight Mailmerge 1 December 3rd 06 06:58 PM
how smart can a word 2003 mail merge letter be? Jesse Aufiero Mailmerge 6 November 30th 06 01:56 PM
Heavy Mail Merge Application Atul Mailmerge 1 August 17th 06 02:37 PM
How to get all mail merge fields in a document [email protected] Mailmerge 3 February 17th 06 05:43 AM


All times are GMT +1. The time now is 10:52 PM.

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"