Microsoft Knowledge Base Email Alertz

(843189) - Describes a problem that occurs when you convert an earlier version Access database to Access 2002, the database may not function as expected or you receive an error message.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











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

On This Page

SYMPTOMS

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

CAUSE

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.

RESOLUTION

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

WORKAROUND

To work around this problem, follow these steps:
  1. Open your converted Access database in Access 2002.
  2. On the Tools menu, point to Macro, and then click Visual Basic Editor.
  3. In the Visual Basic Editor, click References on the Tools menu.
  4. In the Available References list, click to select the Microsoft DAO 3.6 Object Library check box.
  5. Click OK to close the References dialog box.

STATUS

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
Keywords: 
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