Microsoft SDK for Java

AdoEnums.CursorOption Class Fields

The CursorOption class contains the fields shown in the following table.

Constant Value Description
HOLDRECORDS 0x100 Retrieves more records or changes the next retrieve position without committing all pending changes.
UPDATEBATCH 0x10000 Uses batch updating (updateBatch and cancelBatch methods) to transmit groups of changes to the provider.
ADDNEW 0x1000400 Uses the addNew method to add new records.
DELETE 0x1000800 Uses the delete method to delete records.
UPDATE 0x1008000 Uses the update method to modify existing data.
MOVEPREVIOUS 0x200 Uses the moveFirst and movePrevious, move, and getRows methods to move the current record position backward without requiring bookmarks.
BOOKMARK 0x2000 Uses the getBookmark property to gain access to specific records.
RESYNC 0x20000 Updates the cursor with the data that is visible in the underlying database using the resync method.
APPROXPOSITION 0x4000 Reads and sets the getAbsolutePosition and getAbsolutePage properties.
NOTIFY 0x40000 Indicates that the underlying data provider supports notifications (which determines whether Recordset events are supported).
FIND 0x80000 Uses the find method to locate a row in a Recordset.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.