3 Replies Latest reply on Jan 10, 2008 12:30 PM by Dan Bracuk

    Update adding data

    DaQuilter
      Don't understand why my update is adding data to the table instead of replacing the data:

      <cfquery DATASOURCE="#Datasource#">
      UPDATE comments
      set cccomment='#(form.cccomment)#'
      WHERE comid='#url.comid#'
      </cfquery>

      Any ideas? Thanks!!