my update statement refuses to work for some reason. I have no clue why it doesn't work. I am connected to an Access 97 database. I delete the records in OrdersDetail(a child table to Orders) before running the update. here is my code, any help would be great
order = "Update ORDERS SET Payment = '" & oPay & "'" & _
" AND TotalAmount = " & oTotal & " Where OrderID = " & oId & ""
MsgBox (order)
Set rs_updateOrder = conn.Execute(order)
order = "Update ORDERS SET Payment = '" & oPay & "'" & _
" AND TotalAmount = " & oTotal & " Where OrderID = " & oId & ""
MsgBox (order)
Set rs_updateOrder = conn.Execute(order)