woodyards
09-21-2000, 07:57 AM
I need to update an item in a database that I am searching on. How can I do this? The SQL that i have now that appears to not work is:
tmpSQL2 = "UPDATE Customers SET Customers.SalesPersonID = '99999'" & _
'''' "WHERE SalespersonID = " & tmpEmployeeID & ";"
'''' Debug.Print tmpSQL2
'''' DBTemp.Execute tmpSQL2
tmpSQL2 = "UPDATE Customers SET Customers.SalesPersonID = '99999'" & _
'''' "WHERE SalespersonID = " & tmpEmployeeID & ";"
'''' Debug.Print tmpSQL2
'''' DBTemp.Execute tmpSQL2