B
Bob Parr
I have a database that is being shared by several users. I want to lock a
row in a table when it is being edited. I have the "open databases with
record-level locking" option set, but when I test, opening the recordset
with:
Set currentrec = db.OpenRecordset(qstr, dbOpenDynaset, dbDenyWrite)
currentrec.LockEdits = True
or
Set currentrec = db.OpenRecordset(qstr, dbOpenDynaset, dbDenyWrite,
dbPessimistic)
the whole table is locked. I get an error 3262
Any ideas what I am doing wrong?
Bob
row in a table when it is being edited. I have the "open databases with
record-level locking" option set, but when I test, opening the recordset
with:
Set currentrec = db.OpenRecordset(qstr, dbOpenDynaset, dbDenyWrite)
currentrec.LockEdits = True
or
Set currentrec = db.OpenRecordset(qstr, dbOpenDynaset, dbDenyWrite,
dbPessimistic)
the whole table is locked. I get an error 3262
Any ideas what I am doing wrong?
Bob