lrd_reset_rows

Prepares fetched rows for an update operation. (ODBC only)

LRDRET lrd_reset_rows( LRD_CURSOR *mptCursor, long mliRowIndex );

mptCursor A pointer to an LRD_CURSOR structure.
mliRowIndex The fetched row index (1-based). Specify 0 for all rows.

The lrd_reset_rows function prepares the fetched rows for an UPDATE operation using the ODBC SqlSetPos function.

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_reset_rows prepares all rows in the result set for an UPDATE operation.

lrd_reset_rows(Csr1, 0 );