E
Eddy
Does the FindFirst method work with an ADODB recordset?
I am using the following code to find a field in tbl1 recordset matching the
variable strRef.
Dim rs As New ADODB.Recordset
strRef = Field1
Set db = CurrentDb()
rs.Open "tbl1", CurrentProject.Connection, adOpenDynamic, adLockOptimistic
rs.FindFirst "Field1 = '" & strRef & "'"
I get an error Method or Data Member not Found.
Is there a similar method for ADO recordsets that does the same thing as
FindFirst?
I am using Access2003
Thanks
I am using the following code to find a field in tbl1 recordset matching the
variable strRef.
Dim rs As New ADODB.Recordset
strRef = Field1
Set db = CurrentDb()
rs.Open "tbl1", CurrentProject.Connection, adOpenDynamic, adLockOptimistic
rs.FindFirst "Field1 = '" & strRef & "'"
I get an error Method or Data Member not Found.
Is there a similar method for ADO recordsets that does the same thing as
FindFirst?
I am using Access2003
Thanks