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?


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.

Consider to purchase one or more licenses of our products if they are useful to you!

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.