Results 1 to 4 of 4

Thread: Why won't UPDATE work? [resolved]

Threaded View

  1. #1

    Thread Starter
    Member bjawnie's Avatar
    Join Date
    Sep 2002
    Location
    Denmark, FalSTAR
    Posts
    44

    Why won't UPDATE work? [resolved]

    Hii,

    Why won't this code work? I have been using it to update a datetime field without any probs., but know I get this error when I try to update the IP field:

    Run-Time Error '-2147217887' (80040e21):

    Code:
    Set rs = New ADODB.Recordset
    rs.Open "Select IP FROM m_members where id = " & struser_id & " ", conn, 3, 3
            rs!IP = Winsock1.LocalIP
    rs.Update
    rs.Close
    Set rs = Nothing
    Last edited by bjawnie; Jul 27th, 2003 at 09:25 AM.
    Cheers
    bjawnie

Posting Permissions

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



Click Here to Expand Forum to Full Width