In recent weeks Access 365 (and I believe earlier versions) has become unable in certain circumstances to create a backup (File>Save As>Back up database>Save As) or create a .accde file (File>Save As>Make ACCDE>Save As). The symptoms vary depending on whether the FE has a password or not, and whether you are making a backup or a compiled version, but most of them usually end up with "file already in use".
A Google search leads to the following article from Microsoft Docs: "Unable to create an MDE, ACCDE, or ADE database" error with a database that you can't compile, dated 14 February 2022, which says the problem can be caused by either an error in VBA code or "There is a reference to an Access database (.mdb/.accdb) or an Access project (.adp)." The solution to the latter case they say is simply to remove all references to an accdb file from your VBA, or convert such files to .accde files.
Does anybody know how we can find out whether Microsoft plan to fix this problem? The above article doesn't seem to acknowledge it as a new bug, although it was only recently introduced. In my case, at least, it is a serious problem; my F/E can reference any one of 9 different departmental back ends (all .accdb), and compiling them all would be a hassle and seriously inconvenience the various users. Also, the code to access them has well over a dozen references to the .accdb back ends, so changing them all is fraught with difficulty. I can't see anything in the published specs to suggest that an Access database should not reference its own back end.
Alternatively, is there any feasible way to identify and back out the update which caused the problem, and would this mean I am stuck with no more updates forever? I'm running Microsoft 365 under Windows 11.
A Google search leads to the following article from Microsoft Docs: "Unable to create an MDE, ACCDE, or ADE database" error with a database that you can't compile, dated 14 February 2022, which says the problem can be caused by either an error in VBA code or "There is a reference to an Access database (.mdb/.accdb) or an Access project (.adp)." The solution to the latter case they say is simply to remove all references to an accdb file from your VBA, or convert such files to .accde files.
Does anybody know how we can find out whether Microsoft plan to fix this problem? The above article doesn't seem to acknowledge it as a new bug, although it was only recently introduced. In my case, at least, it is a serious problem; my F/E can reference any one of 9 different departmental back ends (all .accdb), and compiling them all would be a hassle and seriously inconvenience the various users. Also, the code to access them has well over a dozen references to the .accdb back ends, so changing them all is fraught with difficulty. I can't see anything in the published specs to suggest that an Access database should not reference its own back end.
Alternatively, is there any feasible way to identify and back out the update which caused the problem, and would this mean I am stuck with no more updates forever? I'm running Microsoft 365 under Windows 11.
Comment