CompareBookmarks - method of the AdoRecordset object

This method compares the two bookmarks. This method returns a CompareEnum value that specifies the bookmark's relative row positions.
Long CompareBookmarks(Object mark1, Object mark2)
mark1(Object) The bookmark of the first row.
mark2(Object) The bookmark of the second row.
Return values:
0 - adCompareLessThan The first bookmark is before the second.
1 - adCompareEqual The bookmarks are equal.
2 - adCompareGreaterThan The first bookmark is after the second.
3 - adCompareNotEqual The bookmarks are not equal.
3 - adCompareNotComparable The bookmarks cannot be compared.
See also:
JavaScriptVBScriptSelect and copy to clipboard

var nCompare = oRs.CompareBookmarks(mark1, mark2);
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.