Closes an open CdbWorkspace object.
Syntax
VOIDClose(VOID);
Usage
#include <afxole.h>
#include <dbdao.h>
CdbWorkspace ws;
BOOL error;
... // Create a workspace, etc.
ws.BeginTrans(); // Start working.
... // Make some changes.
if (error)
ws.Rollback(); // Reject changes
else
ws.CommitTrans(); // Accept changes.
ws.Close(); // Close the workspace