Hi Friends,

I created an application ( microsoft access)that has a standard heading.
Under the heading, I created the tab control with three pages. On the heading,
I created a text box with a command button named Searh. I named the form
SalesContactMainForm. The problem I have is that when I typed "MyRs.(dot)"
there is no Findfirst member. I need to use the Findfirst member. Also, when
I typed "If Not MyRS.(dot)" theres is no NoMatch member. I need to use the
NoMatch member. Below are my code. Please tell me what went wrong. Thanks
for the help.

Private Sub Search_Click()
'Seaching for Customer through Recordset
'On Error GoTo Search_Click_Err
Dim Criteria As String
Dim MyRs As Recordset

'Dim SalesContactMainForm As Form
Set MyRs = Forms![SalesContactMainForm]!RecordsetClone
Criteria = "[CustomerName] ="""
MyRs.Findfirst Criteria
If Not MyRs.NoMatch Then
Forms![SalesContactMainForm].Bookmark = MyRs.Bookmark
End If
MyRs.Close
Set MyRs = Nothing

End Sub