Solved

Word 2010 mail merge not retrieving all records from Access query

Posted on 2013-01-04
5
666 Views
Last Modified: 2013-01-09
I have a Word mail merge that's part of our Purchase Order suite, which is in a Word 2003 format doc, but accessed from Word 2010. The mail merge refers to an Access database with the query "SELECT * FROM 'Purchase Orders Query'". The query works correctly within Access, but in the Word mail merge it currently retrieves only records from before the end of 2012.

The Access database uses linked tables to a "hidden" database that contains the actual data, which is in a separate folder. This supports data entry and printing functions for our purchase order system, and has around 25000 records accumulated over 10 years or so. All the records appear to be visible from the linked tables within Access.

The server (Win Server 2008) the files are on doesn't seem to have been restarted for a long time, so this shouldn't be caused by anything there. We're in an Active Directory  environment.

I've had this happen once before, and fixed it by rebuilding the query in the Word document, but this hasn't worked this time round, and it's quite a lot of work to set it all up so I'd rather find the cause of the problem rather than a workaround.
0
Comment
Question by:Ian Gooding
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38743989
Then there may be a filter set in the Word part of this that filters for 2012...
You did not mention how you fixed this previously, so I am not quite sure where to tell you to look.

If you want to come at this from a different angle,...most "Mail Merges' can be simulated in Access quite easily with a report.
Thus eliminating the need to jump between two programs
0
 

Accepted Solution

by:
Ian Gooding earned 0 total points
ID: 38744363
I solved this one myself, thanks, but have awarded points anyway. It turned out to be some form of data corruption, as compacting the master database sorted out the missing records in the query.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 38744467
Then you should accept your own post as the solution...

This will make the actual answer more obvious to there members searching here for the same issue.

Please click the "Request Attention" link and ask that the accepted solution be changed to your post.

;-)

JeffCoachman
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question