3 Replies Latest reply on Aug 17, 2016 4:53 AM by tcoufal RSS
    tcoufal Communicator

    Infotable column reference as inputParameter

    Hi Guys,

     

    i need you help once more.

     

    I have a service which takes one input parameter:

     

    propertyName (string)

     

    I query a DataTable and goes through the results like this

     

    var myTable = infotable result from queryDataTableEntries

     

    var tableLength = myTable.rows.length;

     

    for (var x = 0; x < tableLength; x++) {

        y = myTable.rows[i].propertyName;

    }

     

    however this reference does not seem to work. If I dont use reference and place some existing column name then it works.

    Is there any special syntax for indirect reference (like for things, Thing[yourThing].property ....)?

     

    Thanks