T
thersitz
Hi,
Have an access2003 db with references to both DAO and ADO added. I try this
code in the immediate window of a form module and get a run-time error 13,
type mismatch.
Private Sub cmdRecordset_Click()
Dim rst As ADODB.Recordset
Set rst = Me.RecordsetClone
rst.MoveFirst
Do
Debug.Print rst!lastName
rst.MoveNext
Loop Until rst.EOF
End Sub
Does this only work with an adp file?
thanks
Have an access2003 db with references to both DAO and ADO added. I try this
code in the immediate window of a form module and get a run-time error 13,
type mismatch.
Private Sub cmdRecordset_Click()
Dim rst As ADODB.Recordset
Set rst = Me.RecordsetClone
rst.MoveFirst
Do
Debug.Print rst!lastName
rst.MoveNext
Loop Until rst.EOF
End Sub
Does this only work with an adp file?
thanks