JudithARyan
asked on
Access 2003 Compact cannot find database
I have a macro that does a RunCommand where Command is CompactDatabase. I get the error message:
The Microsoft Jet database engine cannot open the file 'C:\Users\Judith\CARE2.8\d b1.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
The file db1.mdb doesn't exist. The file I'm trying to compact is CareProgram.mdb. Where is the db1.mdb coming from?
Judith
The Microsoft Jet database engine cannot open the file 'C:\Users\Judith\CARE2.8\d
The file db1.mdb doesn't exist. The file I'm trying to compact is CareProgram.mdb. Where is the db1.mdb coming from?
Judith
You can however do this with an AutoKeys Macro, using Sendkeys
(do a web search of: Sendkey issues
...to learn about the concerns when using SendKeys)
Something like: %TDC
Not near my Access 2003 box right now, but I am sure another expert can finish this off for you...
(do a web search of: Sendkey issues
...to learn about the concerns when using SendKeys)
Something like: %TDC
Not near my Access 2003 box right now, but I am sure another expert can finish this off for you...
Have the Permissions on the folder 'C:\Users\Judith\CARE2.8 changed at all recently ??
Are you SURE the db is not open in another instance ?
Do you see an LDB file in that folder ?
Are you SURE the db is not open in another instance ?
Do you see an LDB file in that folder ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Kelvin