Database fails to open

C

cc

When I open an access 2002 database, then close the
database. When I try to open any database files later in
the day, they will not open until I "end process"
MSACCESS.exe. The pc is running win xp pro and office xp.
 
L

losmac

How You do that?

If You use OLE Automation, for example:
Set AccApp = CreateObject("Access.Application")
You must to kill this object after all operation
Set AccApp = Nothing
The same way is need when You OpenDatabase
Set dbs = OpenDataBase("path")
with dbs
'some operations
.Close
end with
Set dbs = Nothing

I hope, You understand what I mean...
losmac
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top