2 Replies Latest reply on Nov 2, 2010 12:46 PM by locollama

    How do you put a value in a text field a value of a nested array?



      Im a newbie and was trying out some sql queries.

      I am selecting one column from a table.  If put the results into a datagrid the values show up, however.

      if I assigned the results to an Array and try to access the results via row and column i get this.


      var r:SQLResult = SQLStatement(event.currentTarget).getResult();
                  //    dg.dataProvider = r.data;
                      IndexArray = r.data;
                      var temp:Object=r.data[0][0];


      all i get in the testtext.text field is [obejct Obeject].


      How can i retrieve the actual value?


      thanks for any help.