ssCore.ADO.moveFirst

Move the current row pointer to the first row in the open table.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

None.


Output Parameters:

result - A string which contains the contents of the new row.

adoError - An ADO specific error message.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.ADO.moveFirst( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.ADO.moveFirst( paramsObject );


Notes:

A failure with an error code of "8" (end-of-file) or "9" (beginning-of-file) can be interpreted as an indication that you have reached the beginning or end of the open table; this should not be considered a fatal error because this will be encountered during normal data processing operations.

                

Examples:

var return_obj = ssCore.ADO.moveFirst();

ssDebug.trace(return_obj.result);