D
DS
I hope I didn't post this twice. If I did just ignore, I received a strange
error that the other one didn't go through.
I'm getting a syntax error here, any help appreciated.
Thanks
DS
CurrentDb.Execute "UPDATE
[;DATABASE=C:\ProServ\Utility\DataSafe.mdb;].tblEmps, " & _
"SET tblEmps.EmpFirstName = " & Chr(34) &
Forms!frmBSEmployees!TxtFirstName & Chr(34) & "," & _
"tblEmps.EmpLastName = " & Chr(34) &
Forms!frmBSEmployees!TxtLastName & Chr(34) & ", " & _
"tblEmps.EmpActive = Forms!frmBSEmployees!ChkActive " & _
"WHERE tblEmps.EmpID = Forms!frmBSEmployees!TxtEmployeeID;"
error that the other one didn't go through.
I'm getting a syntax error here, any help appreciated.
Thanks
DS
CurrentDb.Execute "UPDATE
[;DATABASE=C:\ProServ\Utility\DataSafe.mdb;].tblEmps, " & _
"SET tblEmps.EmpFirstName = " & Chr(34) &
Forms!frmBSEmployees!TxtFirstName & Chr(34) & "," & _
"tblEmps.EmpLastName = " & Chr(34) &
Forms!frmBSEmployees!TxtLastName & Chr(34) & ", " & _
"tblEmps.EmpActive = Forms!frmBSEmployees!ChkActive " & _
"WHERE tblEmps.EmpID = Forms!frmBSEmployees!TxtEmployeeID;"