URGENT - updating specified field in a database

Last post 10-19-2004, 12:56 AM by bnmiros. 2 replies.
Sort Posts: Previous Next
  •  10-18-2004, 11:52 AM 2117

    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
  •  10-19-2004, 12:29 AM 2126 in reply to 2117

    Re: 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
  •  10-19-2004, 12:56 AM 2127 in reply to 2126

    Re: URGENT - updating specified field in a database

    I really need help with this code. Please help if you can.

     
    Thank you very much
View as RSS news feed in XML