G
Guest
I am using the following code to execute a Make Table Query to add table to
the database currently open:
Set db = OpenDatabase("ExternalDatabase.mdb")
Set rec = db.CreateQueryDef("", "SQL with IN Clause pointing to current db")
rec.Execute dbFailOnError
rec.close
It works fine when I first open the database, but when I try to run the code
again with another set of external records I get the following error 3734:
The database has been placed in a state by user 'Admin' on machine <machine>
that prevents it from being opened or locked.
Has anyone else experienced this?
Thanks.
the database currently open:
Set db = OpenDatabase("ExternalDatabase.mdb")
Set rec = db.CreateQueryDef("", "SQL with IN Clause pointing to current db")
rec.Execute dbFailOnError
rec.close
It works fine when I first open the database, but when I try to run the code
again with another set of external records I get the following error 3734:
The database has been placed in a state by user 'Admin' on machine <machine>
that prevents it from being opened or locked.
Has anyone else experienced this?
Thanks.