adoRSetMovePrev
Previous Topic  Next Topic 

Synopsis:

       adoRSetMovePrev(handle)

Arguments:

       handle - The recordset handle.


Description:   This function moves the record pointer of the underlying recordset data to the previous record in the recordset.   The Recordset object must support bookmarks or backward cursor movement; otherwise, the method call will generate an error. If the first record is the current record and you call the MovePrevious method, ADO sets the current record to the position before the first record in the Recordset and sets BOF to True. An attempt to move backward when the BOF property is already True generates an error.  If the Recordset object does not support either bookmarks or backward cursor movement, the MovePrevious method will generate an error.


Returns:   Returns 0 upon success or a negative error code.   If ADOERR_COMERR is returned, then the underlying ADO error can be obtained by calling adoLastError()