I have run into this problem enough times now, that I want to bring it to this forum. I have an Access database (Access 2000, running under Windows xp). I add queries, revise forms or reports, etc. Then I close the database and click on Compact and Repair. Everything proceeds normally. I rename the old database Whatever_old.mdb, then rename the compacted "db1" as Whatever.mdb.
Sometimes after doing this, I can double-click on the now compacted file. In Explorer I can see that the usual .ldb file has been created, but Access is nowhere to be seen. I have to restart my computer to make this invisible Access go away.
Fortunately, still having a copy of the file as it was before being compacted, I open it, perhaps insert a blank line in the code somewhere, remove the line, then compile, save, and re-compact, and everything may turn out fine this time.
Has anyone else ever had this problem? Any ideas on what's causing it? Is this just one of those (Microsoft) things? I used to delete the old version right after compacting, but now regularly save it in case this problems comes up. Thanks.
Sometimes after doing this, I can double-click on the now compacted file. In Explorer I can see that the usual .ldb file has been created, but Access is nowhere to be seen. I have to restart my computer to make this invisible Access go away.
Fortunately, still having a copy of the file as it was before being compacted, I open it, perhaps insert a blank line in the code somewhere, remove the line, then compile, save, and re-compact, and everything may turn out fine this time.
Has anyone else ever had this problem? Any ideas on what's causing it? Is this just one of those (Microsoft) things? I used to delete the old version right after compacting, but now regularly save it in case this problems comes up. Thanks.