Hi there,
I'm trying to get an Insert statement to execute whenever the user ticks the tickbox however my code is failing to find the output table 'Manager':
Please can you advise?Code:Private Sub Check34_AfterUpdate() Dim db As DAO.Database Dim qdf As DAO.QueryDef Dim varItem As Variant Dim strCriteria As String Dim strSql As String Set db = CurrentDb() If (Me!Check34) = -1 Then DoCmd.RunSQL "INSERT INTO Manager (manID) " _ & "VALUES(" _ & "'" & Me!empID & "') " End If End Sub
TIA