Visual InterDev
Cancels the invocation of methods that move the cursor position within a Recordset object.
Syntax
objRSnavbar.cancelOperation()
Parameters
objRSnavbar
A RecordsetNavbar script object.
Remarks
The cancelOperation method prevents the invocation of the moveFirst, movePrevious, moveNext, and moveLast methods. These methods apply to the Recordset object.
Example
Sub myRSNavbar_onfirstclick()
if sUserName = "Frank" then
' don't let frank move these recordsets around,
' he'll run the server right into the ground
myRSNavbar.cancelOperation()
end if
End Sub