KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q173390: DOC: Status Property of RdoResultset/RdoColumn is Read-Only

Article: Q173390
Product(s): Microsoft Visual Basic for Windows
Version(s): WINDOWS:5.0,6.0
Operating System(s): 
Keyword(s): kbVBp500 kbVBp600 kbGrpDSVBDB
Last Modified: 27-FEB-2000

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual Basic Enterprise Edition for Windows, versions 5.0, 6.0 
-------------------------------------------------------------------------------

SUMMARY
=======

Contrary to what the Visual Basic documentation states (including Books Online
and Help files), the Status property of the rdoResultset/rdoColumn object cannot
be modified.

MORE INFORMATION
================

When using the optimistic batch update cursor library, the Status property
indicates the status of the current row for an rdoResultset or rdoColumn
object.

Prior to the BatchUpdate operation, its value determines if and how a row will
update in the next optimistic batch update. Once BatchUpdate is complete, its
value can be re-examined to determine if the update was successful.

If an attempt is made to set this property at run-time, one or both of the
following error will occur:

  Run-time error '-2147467263 (80004001)': Object Collection: Couldn't find
  item indicated by text.

  -or-

  Run-time error '445': Object doesn't support this action.

NOTE: The above errors are not consistent with run-time errors caused by setting
read-only properties.

Additional query words: kbVBp500 kbVBp kbWinOS98 kbDSupport kbdse kbVBp600 kbdocerr

======================================================================
Keywords          : kbVBp500 kbVBp600 kbGrpDSVBDB 
Technology        : kbVBSearch kbAudDeveloper kbZNotKeyword6 kbZNotKeyword2 kbVB500Search kbVB600Search kbVB500 kbVB600
Version           : WINDOWS:5.0,6.0

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.