简体   繁体   中英

Query Corrupt Ms Access

I'm facing an issue while using excel user form to update any data into an access database.

Error: 'Query '' is corrupted'

Excel file is saved on a shared drive where multiple users can work as it is shared. I'm able to perform the update query but other users are getting the above error.

My SQL query to update the record is:

connection.execute sqlstatement

Any help would be appreciated.

Depending on the version of Access you have installed, there are 4 updates that may be causing this issue:

  • Access 2010 – Uninstall update KB4484127
  • Access 2013 – Uninstall update KB4484119
  • Access 2016+ – Uninstall update KB4484113
  • Access 2016+ – Uninstall update KB3085368

After uninstalling these updates, be sure that you then disable automatic updates or else Windows will simply reinstall it and you'll be right back where you started.

https://www.devhut.net/2019/11/14/access-bug-error-3340-query-is-corrupt/

Do a Compact and Repair on Access. Sometimes it fixes these kinds of issues. As for Excel, open a new instance of Excel, click File > Open > navigate to the corrupt file > select the corrupt file > click the down arrow on the 'Open' button > click 'Open and Repair'.Hopefully you and your team are back in business soon!!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM