Platform SDK: Broadcast Architecture

CDatabaseRecordset::SetField

The SetField method sets the value of the specified field of a record in a recordset object. C syntax is shown.

void SetField(
  LPCTSTR pstrIndex,
  COleVariant cov
);

Parameters

pstrIndex
Name of the field to set.
cov
Field value to set. The information passed in this parameter depends on the type of field to set.

Return Values

This method does not return a value.

Requirements

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