[This is preliminary documentation and subject to change.]
The UpdateRecord method updates the current record in the recordset object from the Guide database. Only the current record of an open recordset can be updated.
BOOL UpdateRecord(
void* cRecordsetObject
);
A BOOL indicating the success or failure of the method. If this value is TRUE, the method succeeded. If it is FALSE, an error occurred.
This method is automatically called by the InsertRecord method when it adds a new empty record to the recordset. You can also use this method to replace the current record with a passed-in CTableName.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Header: Declared in dbsets.h.
Import Library: Use dbsets.lib or dbsetsSt.lib.
Unicode: Yes.
The following example updates the current record of the CThemeRecordset recordset.
Ctheme *pct = new (Ctheme);
CthemeRecordset ctr;
Ctr->UpdateRecord((void *) pct));