wwUtils::CursorToObjectArray

Creates an array of objects of the currently open cursor. The result is an object that has two properties the count and the array of objects that contain the records. The object has properties for each field value (except general fields)


CursorToObjectArray()

Return Value

.NULL. if table is empty or failure
Object with the following properties:
nCount - number of rows returned
aRows[] - Array of objects created with SCATTER NAME. Object properties are the field names.

Remarks

SCATTER NAME is used to do the object conversion.


See also:

Library wwUtils

© West Wind Technologies, 1996-2018 • Updated: 11/19/15
Comment or report problem with topic