Share this page

# lrd_option

Sets an LRD option.

    LRDRET lrd_option( unsigned long muliOption, void *mpvOptionValue );

muliOption | The LRD option to be set.
mpvOptionValue | The LRD optionvalue.

The lrd_option function assigns a value to one of the LRD Options.

For more details refer to the Function Header File lrd.h in the include directory.

## Return Values

See LRD Return Values.

## Parameterization

You cannot use standard parameterization for any arguments in this function.

## Example

In the following example, lrd_option instructs VuGen not to display (print) the results during replay.

    lrd_stmt(Csr1, "select ename from employee where (sal>=1000)\n", -1, 1, 1, 0);

    lrd_bind_col(Csr1, 1, &D21_ENAME, 0);

    lrd_exec(Csr1, 0, 0, 0, 0);

    lrd_option(LRD_OPTION_PRINT_RESULT_DATA, N);

    lrd_fetch(Csr1, -3, 1, 0, PrintRow24, 0);

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: