AdoSeekEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoSeekEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the Seek Enum:

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

 

Prototype

 

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

 

adSeekFirstEQ 1        Seeks the first key equal to KeyValues.
adSeekLastEQ 2        Seeks the last key equal to KeyValues.
adSeekAfterEQ 4        Seeks either a key equal to KeyValues or just after where that match would have occurred.
adSeekAfter 8        Seeks a key just after where a match with KeyValues would have occurred.
adSeekBeforeEQ 16        Seeks either a key equal to KeyValues or just before where that match would have occurred.
adSeekBefore 32        Seeks a key just before where a match with KeyValues would have occurred.

 

See Also

Enums, AdoEnum2Str(), AdoStr2Enum()