AdoCompareEnum() Function

<< Click to Display Table of Contents >>

Navigation:  Enums >

AdoCompareEnum() Function

Previous pageReturn to chapter overviewNext page



All the values of the Compare Enum:

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




FUNCTION AdoCompareEnum (  )  AS ARRAY


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




List of possible values

adCompareLessThan 0        the first bookmark is before the second.
adCompareEqual 1        the bookmarks are equal.
adCompareGreaterThan 2        the first bookmark is after the second.
adCompareNotEqual 3        the bookmarks are not equal and not ordered.
adCompareNotComparable 4        the bookmarks cannot be compared.        



See Also

Enums, AdoEnum2Str(), AdoStr2Enum()