Type Mismatch if not DAO

Mr.K

Registered User.
Local time
Today, 14:50
Joined
Jan 18, 2006
Messages
104
I have a following lines of code:
Code:
Dim rs As Recordset

Me.Requery
Set rs = Me.Recordset
However it causes an error "Type Mismatch"

When i change
Code:
Dim rs As Recordset
to:
Code:
Dim rs As [B]DAO[/B].Recordset
everything works fine. However, I'm not sure why; could somone be so kind as to explain in few sentances the concept of the DAO vs nothing specified?
 
Thanks so much; that's exactly the explanation I was hoping for.
 

Users who are viewing this thread

Back
Top Bottom