lrc_RecordsetWrite

Example: lrc_RecordsetWriteADO Recordset Functions

Updates a field in an ADO recordset.

void lrc_RecordsetWrite( Recordset15* recordset, VARIANT vIndex, VARIANT vValue, long steps );
recordset An ADO recordset.
vIndex Either the column number or the column name of the field.
vValue The new value of the field.
steps The number of steps to move within the recordset.

The lrc_RecordsetWrite function updates a field in an ADO recordset. First, it moves the pointer the specified number of steps within the recordset. Then it writes the value to the current record. This function can represent user changes to an item in a grid.

Return Values

lrc Return Values

Parameterization

Parameterization is not applicable to this function.