共用方式為


CDaoRecordset::CanScroll

Call this member function to determine whether the recordset allows scrolling.

BOOL CanScroll( ) const;

Return Value

Nonzero if you can scroll through the records, otherwise 0.

Remarks

If you call Open with dbForwardOnly, the recordset can only scroll forward.

For related information, see the topic "Positioning the Current Record Pointer with DAO" in DAO Help.

Requirements

Header: afxdao.h

See Also

Reference

CDaoRecordset Class

Hierarchy Chart

CDaoRecordset::CanAppend

CDaoRecordset::CanBookmark

CDaoRecordset::CanRestart

CDaoRecordset::CanTransact

CDaoRecordset::CanUpdate

CDaoRecordset::Open

Other Resources

CDaoRecordset Members