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
Solved

Word 2010 mail merge not retrieving all records from Access query

Posted on 2013-01-04
5
659 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: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

This article will show you how to use shortcut menus in the Access run-time environment.
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…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
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 …

839 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