This is the code I've got so far:
Private Sub btnAdd_Click()
Dim strSQL As String
strSQL = "INSERT INTO HR_Employees(Employee_ID,First_Name,Last… VALUES ('" & Me.txtEmployeeID & "','" & Me.txtFirstName & "','" & Me.txtLastName & "','" & Me.txtEMail & "','" & Me.txtPhoneNumber & "','" & Me.txtHireDate & "','" & Me.txtJobID & "','" & Me.txtSalary & "','" & Me.txtCommission & "','" & Me.txtManagerID & "','" & Me.txtDepartmentID & "');"
DoCmd****nSQL (strSQL)
End Sub
I keep getting an error. The message box says, "You are about to append (1) rows."...Then if I click yes, another message box says it can't append all the records in the append query...What am I doing wrong?