Sorry I confused you! The NotInList event is now working properly, but I can get back the record value on the combo box as you can see in the LAST PICTURE, after I click on Save And Close Button
---------------------------------------
The code I changed
does not solve the problem completely. If I enter a very Long Name And Last Name it still mess it up somehow
Particularly LastName which messes up..Especially if it is shorter or longer than FirstName.
Thanx for reply!
---------------------------------------
The code I changed
Code:
If Not IsNull(OpenArgs) Then
DoCmd.GoToRecord acDataForm, "Patients", acNewRec
Me.LastName = Left(OpenArgs, Len(OpenArgs) - (InStr(OpenArgs, " ") + 1))
Me.FirstName = Right(OpenArgs, Len(OpenArgs) - (InStr(OpenArgs, " ")))
End If
does not solve the problem completely. If I enter a very Long Name And Last Name it still mess it up somehow

Thanx for reply!
Last edited: