I am getting an error "Object required"
This is my code:
Check your references: you may be using the ADO library, which is the
default from Access 2000 upwards, rather than DAO which is better<grin>.
The point is that an ADODB.Recordset does not have the .FindFirst and
..NoMatch methods -- it has the .Find method instead, but I don't know a
lot about it because I always do filtering and finding on the server
rather than in memory.
You could either: add a reference to Data Access Objects 3.61, and
declare your recordset object unambiguously vis:
Dim rst AS DAO.Recordset
' ...
Set rst = me.RecordsetClone ' could be ado or dao unless you specify
rst.FindFirst etc
or else you can do the whole thing in ADO
Dim rst As ADODB.Recordset
' ...
Set rst = Me.RecordSetClone
rst.Find etc, etc. ' look up help for using the ADODB .Find method
Hope that helps
Tim F