Hi guys,
I have a VB frontend on a MSAccess2000 database.
When I want to edit a record I use SQL to call it from the table ie
rs.Source = "SELECT * FROM tblInstance "& _
"WHERE SerialNo = " & txtSerialNo.Text
The problem is that I want to lock the record so that only one user at a time can edit the record.
Using rs.LockType = adLockPessimistic only seems to lock the record whilst the server is updating the record.
It is not particularly important that other users are able to view the record whilst it is being edited. However the main problem is I must not let two people edit the record at the same time.
Thanks in advance!
I have a VB frontend on a MSAccess2000 database.
When I want to edit a record I use SQL to call it from the table ie
rs.Source = "SELECT * FROM tblInstance "& _
"WHERE SerialNo = " & txtSerialNo.Text
The problem is that I want to lock the record so that only one user at a time can edit the record.
Using rs.LockType = adLockPessimistic only seems to lock the record whilst the server is updating the record.
It is not particularly important that other users are able to view the record whilst it is being edited. However the main problem is I must not let two people edit the record at the same time.
Thanks in advance!