Promotic

CompareBookmarks - method of the AdoRecordset object

Description:
This method compares the two bookmarks. This method returns a CompareEnum value that specifies the bookmark's relative row positions.
Syntax:
Long CompareBookmarks(Object mark1, Object mark2)
Parameters:
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:
Example:
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.