This code seems to work, but is this fundamentally correct or is there a better way of doing both a delete and an insert to follow:
Code:sql_1= "Delete From Table1 Where CustomerID = "&CustomerID&" and Productid = "&Productid&" " sql_2 = "insert into Table1 (ProductID,CustomerID,NewDate) values(" &_ "'" & NewProductID & "'," &_ "'" & CustomerID & "'," &_ "'" & NewDate & "')" objConn.Execute(sql_1) objConn.Execute(sql_2)


(right side on this reply ) and agree

