PRB: Data Environment: Error Setting Lock Type
Article ID: 189853
Article Last Modified on 8/23/2001
APPLIES TO
- Microsoft Visual Basic 6.0 Enterprise Edition
- Microsoft ActiveX Data Objects 2.1
- Microsoft ActiveX Data Objects 2.1 Service Pack 2
- Microsoft ActiveX Data Objects 2.5
- Microsoft ActiveX Data Objects 2.6
- Microsoft ActiveX Data Objects 2.7
This article was previously published under Q189853
SYMPTOMS
When trying to use Pessimistic locking and Client Cursors, Visual Basic
generates the following error message:
An invalid value was entered for 'Lock Type'.
Under Microsoft Data Access Components (MDAC) version 2.5, the error message appears as
Invalid property value.
CAUSE
Pessimistic locking is not available with Client cursors in ADO or the Data
Environment.
RESOLUTION
Change your cursor to Server-Side or change your lock type.
STATUS
This behavior is by design.
Keywords: kbdatabinding kbdatabase kbprb KB189853