Partager via


CRowset::MovePrev

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CRowset::MovePrev.

Moves the cursor to the previous record.

Syntax

  
HRESULT MovePrev( ) throw( );  
  

Return Value

A standard HRESULT.

Remarks

This method requires that you set either DBPROP_CANFETCHBACKWARDS or DBPROP_CANSCROLLBACKWARDS to VARIANT_TRUE before calling Open on the table or command containing the rowset.

Requirements

Header: atldbcli.h

See Also

CRowset Class
CRowset::MoveNext
CRowset::MoveToBookmark
CRowset::MoveLast