I have two fuction
First with code
Dim db As DAO.Database
Dim rs As DAO.Recordset
Through First Fuction I an Call the Second Fuction
Second Fuction Have Code
Dim rs As ADODB.Recordset
Set rs = New ADODB.Recordset
I am getting Error as
Compile error
User-Define type not defined
Both Fuction work fine independtly on two different files.
Can anyone quide what is wrong in this code
Thanks in advance