I want to delete all fields of a record by specfying an id:<br>the current way I do this is by :<br><br>----------------------------------------------------<br><br>Set Conn = Server.CreateObject("ADODB.Connection"<br>conn.open "DSN=Architron;uid=sa;pwd="<br><br>SQLstmt = "Delete Customer SET "<br>SQLStmt = SQLStmt & " WHERE CustID=" & frm_CustID <br><br>Set RS = Conn.Execute(SQLStmt)<br>-----------------------------------------------------<br><br>But I get the following error:<br><br>-------------------------------<br><br>Database Errors Occured<br>Delete Customer SET WHERE CustID = 28<br><br>Error #-2147217900<br><br>Error desc. -> [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near the keyword 'WHERE'.<br><br>--------------------------------<br><br>I know CustID is a entity of the db and is correctly spelt and exists. How do I overcome this problem.<br><br>Grateful for any help , thanks.<br><br><br>