Solved

Word 2010 mail merge not retrieving all records from Access query

Posted on 2013-01-04
5
651 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Don't Convert Time to Time-of-Day in Mail Merge 2 23
Question about DB Schema 27 52
Access Open Report with SQL Parameter 11 29
Office 2016 Temp Files 3 25
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Outlook Free & Paid Tools
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

786 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