Sounds as though you're using Access 2000 or 2002.
By default, they only have a reference set for ADO. With any code module
open, select Tools | References from the menu bar, scroll through the list
of available references until you find the one for Microsoft DAO 3.6 Object
Library, select it and back out of the dialog.