ACC97: Compilation Error After Converting NWIND.MDB in Access 97Last reviewed: May 21, 1997Article ID: Q160500 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you convert the Microsoft Access 2.0 sample database NWIND.MDB to Microsoft Access 97, you receive the following error message:
There were compilation errors during the conversion or enabling of this database. CAUSEMicrosoft Access 97 supports some new Visual Basic keywords, and you cannot use those keywords as identifiers in your database. The keywords are: AddressOf, Decimal, DefDec, Enum, Event, Friend, Implements, RaiseEvent, WithEvents. When you convert a database from an earlier version of Microsoft Access to Microsoft Access 97, existing identifiers that are the same as new Visual Basic keywords cause a compile error. In this example, NWIND.MDB uses an identifier called Event in the ShowEvent procedure of the Utility Functions module.
RESOLUTIONAfter you convert NWIND.MDB to Microsoft Access 97, do the following to fully compile the project:
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about reserved keywords in Microsoft Access 97, search the Help Index for "scoping levels," and then view the topic "Scoping and Object-Naming Compatibility." |
Keywords : CnvProb kberrmsg kbusage MdlProb PgmErr
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |