JScript and collections

Results 1 to 2 of 2

Thread: JScript and collections

  1. #1
    Aleksa Jovkovic Guest

    Default JScript and collections

    OK, I want to do a simple thing. After executing the query via the Execute method of the Connection object, I want to place the first field inside a recordset in a spearate variable, ie.<BR><BR>var first = oRs("ID");<BR><BR>The problem is that later, when I start looping through the recordset, the first variable ends up with the LAST value from teh recordset, not the first. What is happening here??

  2. #2
    Join Date
    Dec 1969

    Default RE: JScript and collections

    Can you put the code in the message? <BR>I believe the error must be in a part of the loop and it will be much easy to find the error looking the loop.<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts