ADO CompareBookmarks Method
Complete Recordset Object Reference
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 |
Complete Recordset Object Reference

Whether you're new to XML or already an advanced user,
the user-friendly views and powerful entry helpers,
wizards, and debuggers in XMLSpy are designed to meet your XML
and Web development needs from start to finish.
New features in Version 2010!
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator, taxonomy editor, taxonomy wizard
- Support for Office Open XML (OOXML)
- Graphical WSDL 1.1/2.0 editor & SOAP debugger
- JSON editing & conversion
- Java, C#, C++ code generation
- And much more!
Download a free trial today!
|
|
|
|