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 / December 2006

Tip: Looking for answers? Try searching our database.

Bogus Mail Merge Results

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
workliveplay - 19 Dec 2006 00:55 GMT
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!
Peter Jamieson - 19 Dec 2006 20:49 GMT
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

> 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
[quoted text clipped - 4 lines]
>
> Any help is much appreciated!
 
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.