Moves to the previous row in a cursor.
PSCursorClass objects
cursorobject.MovePrevious( )
Argument |
Description |
---|---|
cursorobject |
A variable that contains a reference to an instance of PSCursorClass |
Boolean. Returns true if the end of the cursor has been reached, and false if it has not.
At runtime, MovePrevious has the following behavior:
Application server |
Runtime behavior |
---|---|
ASP |
Calls the MovePrevious method of the RecordSet object |
JSP |
Calls the previous method on the ResultSet object |
The following moves to the previous row in the “mycursor”object:
eof = mycursor.MovePrevious();
if (eof == true )
{
psDocument.Write("End of cursor has been reached.");
}