I'll add more code asking user, but for now I'm just trying to get the addition of a new item successfully added. Here's the event code:
Code:
Private Sub cboDescriptions_NotInList(NewData As String, Response As Integer)
CurrentDb.Execute "INSERT INTO tblRegDescriptions (Description) VALUES(""" & NewData & """);"
DoCmd.Save acTable, "tblRegDescriptions"
Me.cboDescriptions = Null
Me.cboDescriptions.Requery
Response = acDataErrContinue
End Sub
I keep getting the 2489 error: (Even though the insert was in fact successful)
The error goes away if I remove the DoCmd.Save statement. Now, if I can just get the combo to collapse without having to select the newly added text I'm done. (I'll capture NewData first)