Instr() function crashes MS Access after 4/4/2024 update to office 16.0.17425.20146

Anonymous
2024-04-05T16:32:38+00:00

After Office updated to version 16.0.17425.20146 my MS Access crashes when running very simple functions. I created a new database with one table and one query.

Table1.Text1
Zebra
x-ray
4x4
Posted to X
Next
axe
None
extreme
wax

This works:

SELECT Table1.Text1, InStr(1,[Text1],"x") AS Field2

FROM Table1;

Query1
Text1 Field2
Zebra 0
x-ray 1
4x4 2
Posted to X 11
Next 3
axe 2
None 0
extreme 2
wax 3

This crashes MS Access before returning any results:

SELECT Table1.Text1, InStr(1,[Text1],"x") AS Field2

FROM Table1

WHERE (((InStr(1,[Text1],"x"))>0));

I tried compact/repair. Tried recreating the database from scratch. Rebooted my computer. I uninstalled and re-installed MS Office.

Any ideas??

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

54 additional answers

Sort by: Oldest
  1. Anonymous
    2024-04-08T20:52:46+00:00

    >>Don't assume that the ACEES.DLL file on George's VM was involved with the crash on his machine <<

    Agreed. My statement was more an expression of sympathy than an attempt at diagnosis.

    I see how my statement, " . . no component of Office should crash a VM . . . " could be taken as me assuming that it DID crash the VM. Quite the opposite, I was intending to state that no Office component should be able to crash a VM, so it probably didn't.

    Thanks for all your help on this problem. I appreciate all the time and effort that you and the other forum experts put into helping the rest of us.

    Was this answer helpful?

    0 comments No comments
  2. George Hepworth 23,120 Reputation points Volunteer Moderator
    2024-04-08T21:43:47+00:00

    "...it only crashes when the source database is in a Box.com or Dropbox folder."

    Is this the case? Can you verify that the same accdb placed in one of those locations always crashes, but not when placed in a local folder?

    It's pretty widely understood that it's not a good idea to open accdbs in OneDrive, Dropbox, etc, albeit for other reasons.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-04-09T06:00:50+00:00

    > or it only crashes when the source database is in a Box.com or Dropbox folder.

    As my friend George has already indicated, you absolutely should never access JET (Joint Engine Technology aka *.mdb / *.accdb) databases stored on someone else’s server. JET databases are designed to be used on one’s local hard drive, or properly split as FE/BE, with a copy of the FE on each user’s local hard drive and the shared BE on a solid Local Area Network (LAN) only. If you have geographic needs that involve the public internet (WAN or Wide Area Network), then you should use either RDP (Remote Desktop Protocol) or a licensed product such as Citrix Terminal Server. Running JET databases over a WAN is just asking for trouble.

    > Or my specific malware defenses are killing a process due to a false positive detection.

    That should be easy enough to test by temporarily disabling your malware defenses. My test results, with the current Semi-Annual Enterprise Channel of 64-bit Access, were run with Malwarebytes active on my system.

    Was this answer helpful?

    0 comments No comments