set Javascript resultset to AB 2019 array


Ryan Sytsma

I have this code to select a record set from a SQLite database using the cordova-sqlite-storage plugin.

Will AB script recognize that this variable is an array or do I need to append it to an array?



DecSoft

Hello Ryan,

If "resultSet" is an Array and you assign it to "userArray", then this last variable is also an Array, yes, and, therefore you no need to use the "NewArray" action, for example.


Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.