Share this page

# lrc_RecordsetAddColumn

Example lrc_RecordsetAddColumn | ADO Recordset Functions

Adds a new column to a recordset.

    void lrc_RecordsetAddColumn( Recordset15* recordset, BSTR name,int type,
       long size, int attribute );

recordset | An ADO recordset.
name | The name of the column to add.
type | The data type of the column.
size | The size of the data.
attribute | A recordset attribute.

The lrc_RecordsetAddColumn function adds a new column to a recordset. It is similar to the Append ADO method.

To delete a column from a recordset, see the Fields interface Delete method call in MSDN.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: