AdoSearchDirectionEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoSearchDirectionEnum() Function

Previous pageReturn to chapter overviewNext page

Purpose

All the values of the SearchDirection Enum:

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

 

Prototype

 

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

adSearchForward 1        Searches forward. Search stops at end of Recordset. If a match is not found, the record pointer is positioned at EOF.
adSearchBackward -1        Searches backward. Search stops at beginning of recordset. If a match is not found, the record pointer is positioned at BOF.