No worries - try this
Private Sub Authorizer _NotInList(NewData As String, Response As Integer)
Dim Db As DAO.Database
Dim rs As DAO.Recordset
Dim Msg As String
Msg = "'" & NewData & "' is not a authorized Name ." & vbCr & vbCr
Msg = Msg & "Do you want to add a new name to the current list?"
If MsgBox(Msg, vbQuestion + vbYesNo) = vbNo Then
Response = acDataErrContinue
MsgBox "Try again."
Else
Set Db = CurrentDb
Set rs = Db.OpenRecordset("Authorizers ", dbOpenDynaset)
rs.AddNew
rs![ AEName] = NewData
rs.Update
Response = acDataErrAdded
End If
End Sub
Notes
The table name being search/added to is called Authorizers
The combobox name is named Authorizer
The field being searched by combo Authorizer is AEName
Hope this helps - going out now for lunch - I need it

Signature
Wayne
Manchester, England.
> Hi Wayne,
> I made the change however it still won't work. The table tame is
[quoted text clipped - 57 lines]
> > > Set db = Nothing
> > > End Sub
myxmaster@hotmail.com - 28 Feb 2007 01:08 GMT
On Feb 27, 6:33 am, Wayne-I-M <Wayn...@discussions.microsoft.com>
wrote:
> No worries - try this
>
[quoted text clipped - 94 lines]
>
> - Show quoted text -
Hi Wayne,
The routine staps at
rs!AEName = NewData
Any ideas
TIA
storrboy - 28 Feb 2007 02:26 GMT
> Hi Wayne,
> The routine staps at
> rs!AEName = NewData
> Any ideas
> TIA
If I may interject...
Change the line
MsgBox "An error occurred. Please try again."
To
MsgBox "An error occurred. Please try again.", vbOkOnly, "Error# "
& Err.Number
and try running it again. This will indicate the actual error
encountered and help others to diagnose.
myxmaster@hotmail.com - 28 Feb 2007 07:37 GMT
After pasting your code into the original code the error message is
Error # 3265
> > Hi Wayne,
> > The routine staps at
[quoted text clipped - 13 lines]
> and try running it again. This will indicate the actual error
> encountered and help others to diagnose.
Douglas J. Steele - 28 Feb 2007 12:07 GMT
Error 3265 is "Item not found in this collection." The implication to me is
that AEName doesn't exist in the recordset: that it's called something else.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
> After pasting your code into the original code the error message is
> Error # 3265
[quoted text clipped - 16 lines]
>> and try running it again. This will indicate the actual error
>> encountered and help others to diagnose.