I’m trying to get the value of a column from a ScriptDb database for a column called “Cust Name” – if it was CustName or similar I could do the following:
while(result.hasnext()){
res = result.next();
var CustName = res.CustName;
}
How you I get the value if the column is called “Cust Name”?
Instead of accessing it as a with dot notation, you could try this:
I tested this using a spreadsheet (since that is one way you can get a property with a space loaded), and it returned the correct value for a column with a space.