共用方式為


CDaoRecordset::IsOpen

Call this member function to determine if the recordset is open.

BOOL IsOpen( ) const;

Return Value

Nonzero if the recordset object's Open or Requery member function has previously been called and the recordset has not been closed; otherwise 0.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart

CDaoRecordset::Open

CDaoRecordset::Close