AdoCursorTypeEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoCursorTypeEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the CursorType Enum:

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

 

Prototype

 

FUNCTION AdoCursorTypeEnum ( ) 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

adOpenUnspecified -1        Does not specify the type of cursor.
adOpenForwardOnly 0        Default. Uses a forward-only cursor.
adOpenKeyset 1        Uses a keyset cursor.
adOpenDynamic 2        Uses a dynamic cursor. Additions, changes, and deletions by other users are visible
adOpenStatic 3        Uses a static cursor. A static copy of a set of records that you can use to find data or generate reports.  

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()