Επεξεργασία

Κοινή χρήση μέσω


CursorOptionEnum

Specifies what functionality the Supports method should test for.

Constant Value Description
adAddNew 0x1000400 Supports the AddNew method to add new records.
adApproxPosition 0x4000 Supports the AbsolutePosition and AbsolutePage properties.
adBookmark 0x2000 Supports the Bookmark property to gain access to specific records.
adDelete 0x1000800 Supports the Delete method to delete records.
adFind 0x80000 Supports the Find method to locate a row in a Recordset.
adHoldRecords 0x100 Retrieves more records or changes the next position without committing all pending changes.
adIndex 0x100000 Supports the Index property to name an index.
adMovePrevious 0x200 Supports the MoveFirst and MovePrevious methods, and Move or GetRows methods to move the current record position backward without requiring bookmarks.
adNotify 0x40000 Indicates that the underlying data provider supports notifications (which determines whether Recordset events are supported).
adResync 0x20000 Supports the Resync method to update the cursor with the data that is visible in the underlying database.
adSeek 0x200000 Supports the Seek method to locate a row in a Recordset.
adUpdate 0x1008000 Supports the Update method to modify existing data.
adUpdateBatch 0x10000 Supports batch updating (UpdateBatch and CancelBatch methods) to transmit groups of changes to the provider.

ADO/WFC Equivalent

Package: com.ms.wfc.data

Constant
AdoEnums.CursorOption.ADDNEW
AdoEnums.CursorOption.APPROXPOSITION
AdoEnums.CursorOption.BOOKMARK
AdoEnums.CursorOption.DELETE
AdoEnums.CursorOption.FIND
AdoEnums.CursorOption.HOLDRECORDS
AdoEnums.CursorOption.INDEX
AdoEnums.CursorOption.MOVEPREVIOUS
AdoEnums.CursorOption.NOTIFY
AdoEnums.CursorOption.RESYNC
AdoEnums.CursorOption.SEEK
AdoEnums.CursorOption.UPDATE
AdoEnums.CursorOption.UPDATEBATCH

Applies To

Supports Method