Moves the cursor to the previous row of the result set and copies that row's values to the mapped tags. If there is no previous row — that is, If the current row is the first — then the function returns an error code and doesn't change the mapped tags.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
DBCursorPrevious | Database/ERP | Synchronous | Supported | Supported | Supported |
DBCursorPrevious( numCur, "optStrErrorTag" )
This is an optional parameter.
In case of error, returns a negative number. Otherwise, returns 0.
As used in a Math worksheet:
Tag Name | Expression |
---|---|
nErrorCode | DBCursorPrevious( nCursor ) |