共用方式為


CRowset::MovePrev

Moves the cursor to the previous record.

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

Reference

CRowset Class

CRowset::MoveNext

CRowset::MoveToBookmark

CRowset::MoveLast