Solved

Word 2010 mail merge not retrieving all records from Access query

Posted on 2013-01-04
5
644 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:goodingip
  • 2
5 Comments
 
LVL 74

Expert Comment

by:Jeffrey Coachman
Comment Utility
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:
goodingip earned 0 total points
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now