Asked by:
Office update possibly causing strange errors

Question
-
A client of mine has code which has been running error-free for years. However, recently strange errors have been surfacing in the running of the Access application. For example, a 3022 duplicate key error is being thrown on a table that has ID, Autonumber as the primary key. Another error 3340 (query is corrupt) is being thrown on a database table update query. Again, no changes have been made to the application for several years.
The client is running with Office 365, Access 2016. I suspect that some office updates have been occurring behind the scenes and this is the cause of the problems. Anyone else experience something like this ?
Tuesday, December 3, 2019 6:40 PM
All replies
-
See below link to Microsoft support.
If this post answered or helped you find the answer to your question, please mark it as such for other Forum users knowledge.
Tuesday, December 3, 2019 6:55 PM -
Regarding Error 3340, this is but the latest bug caused by a series of flawed security updates that were released November 12th:
I asked the Access Dev Team and was assured that these are the only updates causing this issue.
You can read about the entire blunder by reviewing
https://www.devhut.net/2019/11/14/access-bug-error-3340-query-is-corrupt/
The article includes various workaround and fixes (for certain versions of Access).
The good news is that if you are running Access 2016, 2019 or Access 365, fixes are now available, you need only update.
The bad news is that if you are running 2010 or 2013 you are stuck with one of three options:
- Wait
- Uninstall the offending update(s)
- Run the code found at https://github.com/lauxjpn/CurruptQueryAccessWorkaround
Daniel Pineault, 2010-2019 Microsoft MVP
Professional Support: http://www.cardaconsultants.com
MS Access Tips and Code Samples: http://www.devhut.netWednesday, December 4, 2019 10:29 AM -
Dan - re: 2010 or 2013.....are you indicating that if we are running Access 2016 via Office 365, all that is needed is to do an immediate UPDATE ?
Wednesday, December 4, 2019 4:32 PM -
Hey Daniel, they appear to have legitimate fixes out at Microsoft for all versions now. I've been using the 2010 MSI fix at our site successfully. There's a table of fixes for each version at
Wednesday, December 4, 2019 4:44 PM -
Yes, normally updating O365 should solve the issue.
Daniel Pineault, 2010-2019 Microsoft MVP
Professional Support: http://www.cardaconsultants.com
MS Access Tips and Code Samples: http://www.devhut.netWednesday, December 4, 2019 5:03 PM -
No, things haven't changed on that front, there are still certain version/deployment methods that still won't see a fix until December 10th. A month to provide a fix to a critical issue.
Daniel Pineault, 2010-2019 Microsoft MVP
Professional Support: http://www.cardaconsultants.com
MS Access Tips and Code Samples: http://www.devhut.netWednesday, December 4, 2019 5:04 PM -
Oops, my apologies, you are correct. I did not see that some of the "release dates" for the listed fixes were future dates. Yes, it's pretty sad that this is not a higher priority with Microsoft. Particularly so when it appears that they have fixes for all the MSI versions but are not deploying it for click-to-run versions.
-Bruce
Wednesday, December 4, 2019 6:00 PM -
Dan - there is an Office 365 update with a version number of 1911 that just came out 12/3/2019.
I am hoping this update corrects the query problem and others as well.
Note: Build # is 12228.20332
Wednesday, December 4, 2019 10:18 PM