below is the code i am using in a form
'" Begining of Code"
Private Sub AppenCD192_Click()
Dim strSQL1 As String
strSQL1 = "INSERT INTO Tbl_CO_CD_192 Select * FROM tbl_CD_192 " & _
" INNER JOIN tbl_CD_192 ON tbl_Employee_Computer_Data.Collector_Code = tbl_CD_192.CCODE;"
DoCmd.RunSQL strSQL1
End Sub
' End of Code
When i run this it gives me a "syntax error in join operation"
Can anyone help me with this
Thanks
'" Begining of Code"
Private Sub AppenCD192_Click()
Dim strSQL1 As String
strSQL1 = "INSERT INTO Tbl_CO_CD_192 Select * FROM tbl_CD_192 " & _
" INNER JOIN tbl_CD_192 ON tbl_Employee_Computer_Data.Collector_Code = tbl_CD_192.CCODE;"
DoCmd.RunSQL strSQL1
End Sub
' End of Code
When i run this it gives me a "syntax error in join operation"
Can anyone help me with this
Thanks