Function CSPODBCRecordset::Insert()
Description:
Inserts a new row in the recordset.
 |
Prototype:
bool Insert();
Arguments:
No arguments (void).
Return value:
If successful, it returns true. Otherwise, it returns false.
Remarks:
The new recordset will have the same data as the current recordset before calling this function. If you want to insert a blank row, call member function ClearFields() first. The newly inserted row will be the last row of the recordset until the recordset is closed. The next time the recordset is opened, the position of the newly inserted row depends on index or its actual position in the database.
See also:
member functions Delete, Refresh, Update, ClearFields()
|
|