I've been having a problem with the following DoCmd.RunSQL. I've shortened up a bit for here. I've concluded that the problem is with the data "Carl's Friend". Apparently, the appostrophe in the data is throwing the program off. How can I incapsulate this string of data so that it doesn't confuse the SQL statement?
I'd appreciate any comments.
DoCmd.RunSQL "UPDATE Employees " & _
"SET Employees.Comments = 'Carl's Friend' " & _
"WHERE ((([Employees].[Employee_ID])= 2 ");"
I'd appreciate any comments.
DoCmd.RunSQL "UPDATE Employees " & _
"SET Employees.Comments = 'Carl's Friend' " & _
"WHERE ((([Employees].[Employee_ID])= 2 ");"