G
Guest
Hello,
I am trying to lock a table in Access 2003, then perform an operation and
then release the lock. The first time I attempt to aquire the lock with,
Set objTableRst = CurrentDb.OpenRecordset(strSQL, dbOpenTable, dbDenyWrite,
dbPessimistic)
it is successful, but the second time the same code is executed I get error
3008.
I have checked for open snapshot type recordsets and there is none.
I am wondering if since the Access VBA form has lists populated by queries
at startup, it is holding a lock in it's address space that is getting
escalted from read to read/write? Or what else could possibly be causing
this?
Thanks, for any advice
I am trying to lock a table in Access 2003, then perform an operation and
then release the lock. The first time I attempt to aquire the lock with,
Set objTableRst = CurrentDb.OpenRecordset(strSQL, dbOpenTable, dbDenyWrite,
dbPessimistic)
it is successful, but the second time the same code is executed I get error
3008.
I have checked for open snapshot type recordsets and there is none.
I am wondering if since the Access VBA form has lists populated by queries
at startup, it is holding a lock in it's address space that is getting
escalted from read to read/write? Or what else could possibly be causing
this?
Thanks, for any advice