I get a syntax error message everytime I try this code. Any idea why?
cDB = currentdb.Name
strSql = "INSERT INTO tblEmployeeAttendance_archive (pkEmpAttID, fkEmployeeID, dteAttendance,fkAttendanceTypeID) " & _
"IN " & cDB & _
"SELECT pkEmpAttID, fkEmployeeID, dteAttendance...