Name

CompareEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

The CompareEnum enumeration indicates how two bookmarks compare.

Table E-8. The CompareEnum Enumeration

Enumeration (ADO/WFC)

Value

Description

adCompareEqual (EQUAL)
1

Indicates that the two bookmarks are equivalent.

adCompareGreaterThan (GREATERTHAN)
2

Indicates that the first bookmark is located after the second bookmark.

adCompareLessThan (LESSTHAN)
0

Indicates that the second bookmark is located after the first bookmark.

adCompareNotComparable (NOTCOMPARABLE)
4

Indicates that the two bookmarks cannot be compared.

adCompareNotEqual (NOTEQUAL)
3

Indicates that the two bookmarks are not equal and not ordered.

ADO/WFC

The CompareEnum enumeration is part of the com.ms.wfc.data package, and the constant values are preceded with AdoEnums.Compare.

See Also

Recordset.CompareBookmarks Method

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.