The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp). SYMPTOMSWhen you try to save design changes that you made to a Microsoft Access object that contains a module (form, report, or standard module), it may take longer to save the object than it did in earlier versions of Microsoft Access. This is especially true in databases that contain large VBA projects. CAUSEThis behavior is caused by changes in the project storage model in Microsoft Access 2000 required by the Visual Basic Environment. MORE INFORMATION
The integration of the Visual Basic Environment in Microsoft Access 2000 required Microsoft Access to change its VBA project storage architecture. The Visual Basic Environment requires that host applications, such as Microsoft Access, Microsoft Word, and Microsoft Excel, read and write the entire VBA project at once. A VBA project is the set of standard and class modules, including form and report modules, stored in a Microsoft Access database (MDB) or project (ADP).
Eliminates Dependency on the Microsoft Jet Database EngineIn Microsoft Access 2000, you can now create Microsoft Access project files (.adp) as well as Microsoft Jet database files (.mdb). By using an Access project file, you can use Microsoft SQL Server as an alternative database engine to Microsoft Jet. In the past, all Access-specific objects (forms, reports, macros, modules, and commandbars) were dependent upon the Microsoft Jet database engine for storage. These objects were stored in Access-specific system tables within the Microsoft Jet database. Because Microsoft Access 2000 can use Microsoft SQL Server as an alternative to Microsoft Jet, Microsoft had to develop a storage mechanism for Access-specific objects that does not rely on Microsoft Jet.Improves Stability of Access-Specific ObjectsThe new project storage model improves stability of Access-specific objects and the Visual Basic project. Visual Basic for Applications has never allowed multiuser editing of Visual Basic projects without source code control.Microsoft Access 95 and 97 were able to circumvent this restriction by hiding project changes made in a multiuser environment from Visual Basic for Applications, and merging them into the project at a later time. However, this impacted the stability of the Visual Basic project. When a user modifies the design of an Access-specific object, Access 2000 requires an exclusive lock in order to ensure that the project has only one editor. REFERENCESFor additional information about project storage changes in Microsoft Access 2000, click the article number below to view the article in the Microsoft Knowledge Base: Q200290 ACC2000: Exclusive Lock Required for Saving Design Changes to Access Objects Additional query words: prb takes more time longer slow
Keywords : kbdta |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |