BOOL IsOpen( ) const;
Return Value
Nonzero if the workspace object is open; otherwise 0.
Remarks
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. You can call any of the member functions of a workspace that is in an open state.
For more information about workspaces, see the article DAO Workspace in Visual C++ Programmer's Guide.