Loading ...
Sorry, an error occurred while loading the content.

11592Re: First record in a Recordset

Expand Messages
  • Ted Husted
    Mar 30, 2007
      This is a known issue that's been fixed for the next release.

      In the meantime, you can do this instead:

      var id = this._oRecordSet[0].id;

      HTH, Ted.

      --- In ydn-javascript@yahoogroups.com, "luis_olarte" <luis_olarte@...>
      > Hi, I'm trying to get the first record of datasource, here is the code:
      > var id = myDataTable.getRecordSet().getRecord(0)["column1"];
      > but i can't get it but only the first record, (index 0), if i get
      > other record the 1,2, .... it works, for example:
      > var id = myDataTable.getRecordSet().getRecord(1)["column1"];
      > So i can't get the information of the first row, can you help me please?
    • Show all 4 messages in this topic