Hi All,
I’m struggeling to create a list via a Mobile Client Script.
- I succesfully recieve a Object with data via getDBValues, but I only need one item from that object.
- So I created a for loop, to go trough the object and store the value in a String, Array or Object (doesn’t matter).
- Creating a new Array or a Object seems not to work for mobile
- Als simply extending a var via the += method also not working.
Example:
var data = getDBValues(stringFormat("SELECT id FROM database_table WHERE type = 'placeholder'"));
var arr = new Array();
var list = ‘’;
for(var i=0; i < data.length; i++) {
arr.push(data>i] 'ID']);
list+= databi]/'ID'];
}