SaCursorPrev
SaCursorPrev fetches the previous row from the database. All user variables currently bound to columns are updated.
Synopsis
SaRetT SA_EXPORT_H SaCursorPrev(SaCursorT* scur)
Parameters
The following table describes the parameters:
Parameters
|
Usage type
|
Description
|
scur
|
in, use
|
Pointer to a cursor object
|
Return value
SA_RC_SUCC Previous row found
SA_RC_END Beginning of search (we are already at the first row, so there is no previous row).
Note SA_RC_END can apply to either end (start or finish) of the cursor.
Go up to