Solved

Word 2010 mail merge not retrieving all records from Access query

Posted on 2013-01-04
5
646 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
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:
goodingip 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

930 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