Oli (or anyone else), Help!!

Results 1 to 3 of 3

Thread: Oli (or anyone else), Help!!

  1. #1
    Join Date
    Dec 1969

    Default Oli (or anyone else), Help!!

    I am having trouble getting the right syntax for referencing my ID variable. I declared it first at the beginning: <BR>ID = rsUpdate("ID") <BR><BR>I then call my function: <BR>onclick = &#039;Delete(ID)&#039; <BR><BR>And then my function: <BR>Function Delete(ID) <BR> sql = "DELETE FROM UserDetails WHERE ID= &#039;" & ID &"&#039;" <BR>End FunctioN <BR><BR>Do you know where I&#039;m going wrong? <BR><BR>Jo

  2. #2
    Evel Knievel Guest

    Default RE: Oli (or anyone else), Help!!

    Maybe it should be<BR><BR>sql = "DELETE FROM UserDetails WHERE ID=" & ID <BR>

  3. #3
    Join Date
    Dec 1969

    Default See the original post <eop>


Posting Permissions

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