URGENT - updating specified field in a database

  •  10-18-2004, 11:52 AM

    URGENT - updating specified field in a database

    URGENT:

     
    I've spent a good part of my weekend trying to implement a code that will upload information from your CuteEditor to the database.
     
    I've created a separate HTML page, that has a link that passes an ID value to my todatabase.asp page (example - todatabase.asp?ID=3)
     
    Right now there is a code that goes throuugh the records and creates a new one at the end of the list:
     
               rs.addnew
               rs("TitleField") = TitleField
               rs("MessageField") = MessageField
               rs.update
     
    I need that to be updating the row that I passed an ID for, and not create a new record.
     
    Finally what is the easiest way to display a single page (a row) without giving anyone permissions to change them (to display that page).I would like to use ID pass, just a s above.
     
    Please help me ASAP!
     
    Thank you,
    CR
View Complete Thread