How do you use record locking with ADO? It seems to lock the whole file, regardless of the record set I read. In Access itself you can specify row locking so obviously it can be done, but what do you need to do in VB.
When you open the recordset, you use an option, ie, from the Help file for ADO Recordset:<br>rst.Open Source, ActiveConnection, CursorType, LockType, Options
Thanks for your comments.<br><br>I have tried setting cursor location = adUseServer and cursortype = adOpenKeyset and locktype = adLockPessimistic but it still locks the whole Access table.<br><br>Is there something else I should try?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.