From Microsoft:
When you Open or Convert a Database that was created in a Version of Access earlier than Access 2000, and you attempt to run or compile older Code that uses Data Access Objects (DAO), specifically in Access 2002, you may receive compile errors. This issue can occur because Access 2002 does not have Compatibility Type Libraries. The only optyion, as I understand it, is to Update the DAO Code.