CeODAX.Moveprev Method

PocketBrowser 3.x API

The MovePrev Method of the ODAX ActiveX Object moves the row pointer to the previous record in the result set.

MovePrev (Method of the ODAX ActiveX Object) Syntax

var result = object.moveprev();


axReturns Toggle Return Values

Name Description
Result Returns 0 if no error occurs or an error code if an error occurs. (Please Refer to GetLastErrorString for More Detail)

Examples Toggle Examples

The following javascript moves the row pointer to the previous record in the resultset:

<script>
var ax = new ActiveXObject("CeODAX.ODAX");

var count = ax.Select('SELECT * FROM \'\\application\\test.xml\';', ',', false);
var result = ax.moveprev();
</script>
Copy example to clipboard Copy example to clipboard

Remarks Toggle Remarks

General
There must a valid result set in order to successfully execute this command, otherwise the operation will result in an error.


Info Toggle Additional Information

Supported Platforms Windows Mobile, Windows CE
Persistence Runs immediately.
Min. Requirements None.