Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 843189 - Last Review: April 7, 2006 - Revision: 2.1
Your converted database may not function as expected when you convert an Access database in Access 2002 from an earlier version of Access
When you convert a Microsoft Access database in Microsoft
Access 2002 from an earlier version of Microsoft Access, your converted
database may not function as expected.
For example, if you try to run
a macro that is contained in your converted database, you may receive the
following error message:
Compile error: User-defined type
not defined
This problem occurs because during the conversion of the
earlier Access database, references to earlier Data Access Objects (DAO)
components were removed but references to newer DAO components were not
added.
For example, the earlier Microsoft DAO 2.5/3.5 Compatibility
Library was removed during the conversion of the earlier Access database, but
the later Microsoft DAO 3.6 Object Library was not added to the
Available References list in the Microsoft Visual Basic
Editor.
How to obtain the hotfix
This issue is fixed in the Access 2002 post-Service Pack 3 Hotfix
Package that is dated June 2, 2004. For additional information, click the
following article number to view the article in the Microsoft Knowledge Base:
842780Â
(http://kbalertz.com/Feedback.aspx?kbNumber=842780/
)
Description of the Access 2002 post-Service Pack 3 hotfix package: June 2, 2004
To work around this problem, follow these steps:
- Open your converted Access database in Access
2002.
- On the Tools menu, point to
Macro, and then click Visual Basic
Editor.
- In the Visual Basic Editor, click
References on the Tools menu.
- In the Available References list, click to
select the Microsoft DAO 3.6 Object Library check
box.
- Click OK to close the
References dialog box.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.
APPLIES TO
- Microsoft Access 2002 Standard Edition
| kbqfe kbhotfixserver kbofficexppostsp3fix kberrmsg kbconversion kbfix kbbug KB843189 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate