Platform SDK: Broadcast Architecture

CDatabaseRecordset::UpdateRS

The UpdateRS method searches the current recordset for the record that matches the record object specified. If a matching record is found, its field values are updated with those of the record object passed in. C syntax is shown.

void UpdateRS(
  CObject &coo  
);

Parameters

coo
Reference to a record object.

Return Values

This method does not return a value.

Remarks

The UpdateRS method checks the current recordset for the specified record and, if it finds such a record, overwrites it with the passed information. For example, suppose your application calls the CStationRecordset::UpdateRS method and passes a CStation object. UpdateRS searches on the index field, in this case the S Call Letters field, to find a match. If the station object passed in has the call letters KZZZ and a record in the table has the call letters KZZZ, the remaining field values of the table object are overwritten with the field values of the passed object.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in dbsets.h.
  Import Library: Use dbsets.lib or dbsetsst.lib.

See Also

CDatabaseRecordset::SeekAddRS, S Call Letters