CDaoWorkspace::IsOpen
Call this member function to determine whether the CDaoWorkspace object is open — that is, whether the MFC object has been initialized by a call to Open or a call to Create.
BOOL IsOpen( ) const;
Return Value
Nonzero if the workspace object is open; otherwise 0.
Remarks
You can call any of the member functions of a workspace that is in an open state.
Requirements
Header: afxdao.h