CDatabaseRecordset::UpdateRS

[This is preliminary documentation and subject to change.]

The UpdateRS method searches the recordset for a record whose index field value is identical to that of the specified object. If a match is found, this method copies the field values of the specified object to the matching object in the recordset.

For example, if you called the CStationRecordset::UpdateRS method and passed in a CStation object. It would search on the index field, the S Call Letters field, to find a match. If the object you passed in had the call letters "KZZZ," and a record in the table had the call letters "KZZZ," the remaining field values of the table object would be overwritten with the field values of the object you passed in.

void UpdateRS(
  CObject &coo  
);
 

Parameters

coo
A reference to a CTableName record object.

Return Values

This method does not return a value.

QuickInfo

  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.