'ok, i would suggest backing up your database now, because
'i am going to ask you to put the following code in place
'of what you had.
Private Sub cmdFind_Click()
Dim intRow As Integer
Dim cntl As Control
Dim rst As DAO.Recordset
Dim sql As String
Dim varA As String
varA = InputBox("Enter PIN"

if vars = null then
msgbox ("you clicked cancel."

else
Set cntl = Me!List0
sql = "Select PIN From BlackBerryRecord Where PIN = " & varA & ""
Set rst = CurrentDb.OpenRecordset(sql, dbOpenDynaset)
If rst.NoMatch = False Then
rst.MoveFirst
For intRow = 0 To cntl.ListCount - 1
If List0.Column(1, intRow) = varA Then
List0.Selected(intRow) = True
List0.SetFocus
Exit For
End If
Next intRow
End If
Set rst = Nothing
end if
End Sub
junior1544@jmjpc.net
Life is change. To deny change is to deny life.