AdoCursorOptionEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoCursorOptionEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

 

All the values of the CursorOption Enum:

The type of action to be performed when SetPermissions is called.

 

Prototype

 

FUNCTION AdoCursorOptionEnum (  )  AS ARRAY

Return

ARRAY        Every row in this array has 2 values:

       The numeric value of the Enum value

       A text representation of this value

 

This array can be used to validate values, and to print a meaningful description of the values during debugging You can pass this array to the AdoEnum2Str() function to convert the value of an Enum to a string

 

Description

 

List of possible values

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

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()