Please visit our sponsors !
The CompareBookmarks Method
The CompareBookmarks method compares two bookmarks. This method returns a CompareEnum
value
that indicates the bookmark's relative row positions.
Note: The two bookmarks must be within the same Recordset, or
within a Recordset and its clone.
Note: You can use this method only if the provider support bookmarks.
Syntax
result=objRecordset.CompareBookmarks(mark1,mark2)
|
Parameter |
Description |
mark1 |
The bookmark of the first row |
mark2 |
The bookmark of the second row |
CompareEnum Values
Constant |
Value |
Description |
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 |
adCompareNotComparable |
4 |
The bookmarks cannot be compared |
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|