MimerCurrentRow

Returns the current row of a result set.

Parameters

int32_t MimerCurrentRow (MimerStatement statementhandle)

statementhandle

in

A handle returned by MimerBeginStatement[C|8], identifying a prepared statement.

Returns

A negative value indicate an error code. Zero or a positive value indicates the current cursor position.

Return value

Description

>= 0

Current cursor position.

If the current position is before the result set, 0 is returned. A value of 1 indicates the first row of the result set.

MIMER_HANDLE_INVALID

The statementhandle parameter was not recognized as a handle.

MIMER_SEQUENCE_ERROR

If the statement cursor is not open.

Notes

Not Micro API compatible.