CDatabaseRecordset::StartUpdateRS

[This is preliminary documentation and subject to change.]

The StartUpdateRS method enables you to partially update a record in the database. The record will remain open for editing until you call the EndUpdateRS method.

void StartUpdateRS(
  CObject &coo  
);
 

Parameters

coo
A reference to a CTableName record object.

Return Values

This method does not return a value.

Remarks

This method is useful when you need to update a record but do not have all the values required to call UpdateRS.

For example, if you need to add a record to a CStationRecordset, but don't yet have the station's name value, only its call letters, you could pass a CStation with only the call letters specified to StartUpdateRS. Then when you acquire the station's name, you can add it to the record by calling the SetField method. When you are finished editing the record, you should call EndUpdateRS.

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.