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: Most helpful
  1. Anonymous
    2024-04-08T18:04:24+00:00

    I just tested your sample database on my machine (10:49 AM PST). Both queries work fine for me:

    If the problem is truly in a .dll file that has a different date ("ACEES.DLL" with different version numbers as you indicated), then I'm tempted to believe that perhaps your copy of this file may have been slightly corrupted during the download process and perhaps MS Access may not include the most robust error-checking to ensure an updated file is complete and correct? I'm just guessing of course. But, as a past MS Access MVP myself, I have inside knowledge that a very talented Microsoft employee on the Access team has tested the InStr function with the Current Channel and the same exact version that you reported. He found no errors.

    I suppose if you really want to stay on the Current Channel, you could try converting once again to the same version. I myself am happy to stay on the slower upgrade path--I don't need or want to be on the "bleeding edge"!

    If you do want to return to the Current Channel, make sure you have a solid internet connection first (wired is best, but if you use wireless hopefully you have a dual-band router that includes a signal broadcast at 5 GHz. The more common 2.4 GHz bandwidth is much more susceptible to interference (co-channel, adjacent channel and non-802.11 interference, e.g. microwave oven interference). So my WAG is that it may be possible for a critical file, such as ACEES.DLL, to be ever-so-slightly corrupted during a download process that perhaps this is the cause of all these problems. If my theory is correct, one would think the file checksum value would be altered. But does the upgrade process check for this? I don't know.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-04-08T17:44:00+00:00

    That's cool!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-04-08T15:48:24+00:00

    >>Query2 --the one designated as not working--crashed Access once, and but then opened correctly on subsequent attempts. Then my VM itself crashed<<

    ****! That sucks. Something definitely wrong with that DLL. Even so, no component of Office should crash a VM like that.

    Was this answer helpful?

    0 comments No comments