PRB: Data Environment: Error Setting Lock Type (189853)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 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.
Modification Type: | Major | Last Reviewed: | 8/23/2001 |
---|
Keywords: | kbDatabase kbDataBinding kbDSupport kbprb KB189853 |
---|
|