14 Replies Latest reply on Apr 16, 2009 9:09 AM by phillipus_rex

    Consuming DataTables - TypeError: Error #1010: A term is undefined and has no properties.

    phillipus_rex Level 1

      I am trying to consume a WebService from a .NET Soap source that is returning Data Tables.

       

      According to Adobe's documentation - and a book I am using - the correct way to do this is:

       

      [Bindable] private var myData:ArrayCollection;
      
      private function dataHandler(event:ResultEvent):void
      {
           myData = event.result.Tables.Table.Rows;
      }
      

       

      However, the debugger returns an error of:

      TypeError: Error #1010: A term is undefined and has no properties.

       

      On further inspection of the Debugger's Variable view, I see that the data is indeed there.  I am including a ScreenShot in JPEG format so that you can see what the structure looks like.

       

      I'm a beginner, so to me this looks like a very complex problem - but I am hoping that someone out there can see what is wrong.

       

      Thanks.