Article ID: 189853 - Last Review: August 23, 2001 - Revision: 1.1 PRB: Data Environment: Error Setting Lock TypeThis article was previously published under Q189853 On This PageSYMPTOMS
When trying to use Pessimistic locking and Client Cursors, Visual Basic
generates the following error message:
An invalid value was entered for 'Lock Type'.
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.
MORE INFORMATION
Note that Pessimistic locking on server-side cursors must be supported by
the driver/provider in order to use this functionality in ADO. SQL Server
and Access drivers and providers have this functionality whereas Oracle
does not. Under MDAC version 2.5 or later, you cannot set the locktype to Pessimistic when the cursor location is set to aduseclient. The above error will be returned immediately. Steps to Reproduce Behavior
Microsoft Data Environment Designer An invalid value was entered for 'Lock Type' APPLIES TO
| Article Translations
|
Back to the top
