CdbRecordset::Delete Method

Deletes the current record in an updatable Recordset object.

Syntax

VOIDDelete(VOID);

Remarks

For ODBCDirect workspaces, the type of driver determines whether Recordset objects are updatable and therefore support the Delete method.

Usage

#include <afxole.h>
#include <dbdao.h>

CdbRecordset      rst;
...
rst.MoveLast();         // Make the last record the current record.
rst.Delete();         // Delete the current record.
rst.Close();            // Close the recordset.