As usual, there are almost always multiple ways to accomplish a task in Access. In addition to June7's suggestion, you could use something like this:
Code:
Private Sub SSN_AfterUpdate()
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[SSN] = '" & Me![SSN] & "'"
If rs.NoMatch Then
'Do Nothing Continue entering New Record
Else
Me.Undo
If Not rs.EOF Then Me.Bookmark = rs.Bookmark
End If
End Sub
This assumes that your Social Security Number field is defined as Text, which it usually is, and you'll need to substitute your actual name for SSN in the code, above.
Linq ;0)>
The problem with making anything foolproof...is that fools are so darn ingenious!
All posts/responses based on Access 2003/2007