0 Replies Latest reply on May 6, 2007 11:22 PM by rajeeva_nagaraj

    problem with httpservice.length


      I have written a httpservice which will return a dataset to me, now i am trying to loop that http service i have written the below code

      <mx:httpservice id="something" url="........default.aspx" />
      var i:int = 0
      for (i = 0; i<something.lastresult.newdataset.table.length; i++)
      if there is only one record in the httpservice then it is giving me the result as null and if there are 2 records if is displaying only 1 row
      can anybody find me a solution for this problem