R
Rick
I need to write an event proceedure that will an item to the table I use as a
combo boxes control source.
combo boxes control source.
Perry said:small correction (too fast reply
Private Sub Combo7_NotInList(NewData As String, Response As Integer)
If MsgBox("New model. Enter in list?", vbYesNo) = vbYes Then
CurrentDb.Execute "insert into model values ('" & NewData & "')"
Response = acDataErrAdded
Else
Me.Combo7.Dropdown
Response = acDataErrContinue
End If
End Sub