lrc_RecordsetDeleteColumn

ADO Recordset Functions

Deletes a column from a recordset.

void lrc_RecordsetDeleteColumn( Recordset15* recordset, VARIANT index );
recordset An ADO recordset.
index The index of the column to delete. (0 based)

The lrc_RecordsetDeleteColumn function deletes a column from a recordset. It is similar to the Delete ADO method.

Return Values

lrc Return Values

Parameterization

Parameterization is not applicable to this function.

Example

In the following example, the lrc_RecordsetDeleteColumn deletes the third column from a recordset.

lrc_RecordsetDeleteColumn((Recordset15*)Recordset20_0, 2);