Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    23

    Unanswered: When is a field a field?

    I have been musing over this code fragment:

    <%
    set id = rs.fields("id")
    set lastid = rs.fields("lastid")
    do while not rs.eof
    lastid=id
    rs.Update
    rs.Movenext
    loop
    %>

    Should this set the value of the field lastid to be that of id? Certainly the =id part gets the value of the field. If lastid= does set the value of the field...how would I assign the variable lastid the value 2?

  2. #2
    Join Date
    Jul 2006
    Posts
    56
    I don't mean any disrespect, but ...

    What?!

Posting Permissions

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