A
aardvick
I'm trying to use the .FindFirst method on a recordset clone using very
generic code, but neither .FindFirst or .NoMatch are recognized. Help?
Dim rs As Recordset
Dim strFind as string
Set rs = Me!RecordsetClone
strFind = Me!txt_Find
rs.Findfirst "[LastF] = " & strFind
If rs.Nomatch Then
MsgBox "No matches found.", vbOKOnly
Else
Me.Bookmark = rs.Bookmark
End If
generic code, but neither .FindFirst or .NoMatch are recognized. Help?
Dim rs As Recordset
Dim strFind as string
Set rs = Me!RecordsetClone
strFind = Me!txt_Find
rs.Findfirst "[LastF] = " & strFind
If rs.Nomatch Then
MsgBox "No matches found.", vbOKOnly
Else
Me.Bookmark = rs.Bookmark
End If