R
Ritchie
I have a database which works in tandem with a complex spreadsheet.
The operator opens the database, and uses a search screen to select a
record on which to operate. The database at this point opens an Excel
spreadsheet template and loads some data, ready for the operator to go
to work.
Here's the part I'm stuck on: When the operator is finished working,
it should be possible for them to click a button on the spreadsheet
and have the values saved back into the database, which is still open.
However, when I try
Set db = OpenDatabase("C:\temp\MyDB.mdb")
from Excel, I receive the error message
"The database has been placed in a state by user 'UserName' on
machine 'MachineName' that prevents it from being opened or
locked."
(Run-time error 3734).
The database in question is opened in Shared mode with no record
locks. Can anyone be of assistance in telling me what's going wrong?
Regards
Ritchie
The operator opens the database, and uses a search screen to select a
record on which to operate. The database at this point opens an Excel
spreadsheet template and loads some data, ready for the operator to go
to work.
Here's the part I'm stuck on: When the operator is finished working,
it should be possible for them to click a button on the spreadsheet
and have the values saved back into the database, which is still open.
However, when I try
Set db = OpenDatabase("C:\temp\MyDB.mdb")
from Excel, I receive the error message
"The database has been placed in a state by user 'UserName' on
machine 'MachineName' that prevents it from being opened or
locked."
(Run-time error 3734).
The database in question is opened in Shared mode with no record
locks. Can anyone be of assistance in telling me what's going wrong?
Regards
Ritchie