Almost certainly, it is because the Reference to the DAO library is no
longer set by default in Access 2000 and 2002. Open any module in design
view, on the menu, Tools | References, check DAO 3.6 Library, and then for
each DAO object in your database, qualify the reference, as:
Dim rsABC as DAO.Recordset
If you don't also use ADO, then as a safety measure, you might want to move
the DAO Reference above the ADO Reference in the list of References.
Larry Linson
Microsoft Access MVP