Share this page

# lrc_save_rs_param

Parameterization ("save") Functions

Saves the specified field of an ADO recordset to a string parameter.

    void lrc_save_rs_param( Recordset15* recordset, int row, short col, void* reserved, char*param_name );

recordset | An ADO recordset.
row | The record number (row) in the recordset.
col | The column number (field number) in the recordset.
reserved | Not used. Enter 0.

param_name | The name of the variable in which to save the value.

The lrc_save_rs_param function saves the value of the specified field in a record of an ADO recordset to parameter "param_name".

uGen generates this function as a commented-out call. To use the parameter, change the recorded param_name argument to a meaningful name and uncomment the call.

## Return Values

lrc Return Values

## Parameterization

Parameterization is not applicable to this function.

## Example

This example saves the Boolean value "true" to a string:

    VARIANT_BOOL var = lrc_bool("true");

    lrc_save_bool("param-name",var);

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