共用方式為


CDaoRecordset::IsOpen

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.

Remarks

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

For more information about creating recordsets, see the article in Visual C++ Programmer's Guide.

CDaoRecordset OverviewClass MembersHierarchy Chart

See Also   CDaoRecordset::Open, CDaoRecordset::Close