Run this as a check to make sure your fields have the data that you think they have: 

    DoCmd.RunSQL (" SELECT * FROM tbltesting " & _
                    "WHERE empid= " & Me.txtEmpId.Value & _
                    " and testid= " & Me.txtAutoNumber.Value & ";")

Incidentally, you can leave off the .Value portion.