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 an agent name that was part of the output recordset:

lrc_save_rs_param((Recordset15*)Recordset20_0 , 2 , 1, 0, "Saved_AGENT_NAME");

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