Hi Steve,
This probably means that the KB code is written to use the DAO library
but your database only has a reference to the ADODB library. (Both these
have recordset objects, but only DAO has a database object.)
Go to Tools|References and add a reference to the Microsoft DAO 3.xx
object library (it's 3.60 in recent versions of Access). Then play safe
and make your code clearer by using explicit declarations, e.g.
Dim MyDB As DAO.Database
Dim rsXX As DAO.Recordset
>Hi All:
>
[quoted text clipped - 16 lines]
>
>Steve
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
Steve - 02 Feb 2006 13:47 GMT
Yep..that was it. Thanks a lot, John
Steve
Hi Steve,
This probably means that the KB code is written to use the DAO library
but your database only has a reference to the ADODB library. (Both these
have recordset objects, but only DAO has a database object.)
Go to Tools|References and add a reference to the Microsoft DAO 3.xx
object library (it's 3.60 in recent versions of Access). Then play safe
and make your code clearer by using explicit declarations, e.g.
Dim MyDB As DAO.Database
Dim rsXX As DAO.Recordset
On Wed, 1 Feb 2006 21:28:36 -0600, "Steve"
<steve@nospamtnccreations.com> wrote:
>Hi All:
>
[quoted text clipped - 17 lines]
>
>Steve
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.