The information in this article applies to:
Advanced: Requires expert coding, interoperability, and multiuser skills. SUMMARYThis article discusses techniques for upgrading run-time applications from Microsoft Access 2.0 or 7.0 to Microsoft Access 97. It discusses these topics:
Before you convert any database in Microsoft Access 97, familiarize yourself with the conversion process. You can find sources of conversion information in the following article in the Microsoft Knowledge Base: Q160949 ACC97: Where to Find Conversion Information for MS Access 97 MORE INFORMATIONOne of the most important steps in upgrading any application is to create an upgrade plan that addresses the issues you will encounter, such as timing the upgrade, testing the application, and training users. A well thought-out upgrade plan is key to successful deployment. For information about common considerations when you install or upgrade a run-time application, please see the following article in the Microsoft Knowledge Base: Q162584 ADT/ODE: Developing a Plan to Deploy Run-Time ApplicationsThe following sections present suggestions for upgrading and redistributing run-time applications using the Microsoft Office 97 Developer Edition Tools (ODE). UPGRADING AN APPLICATION THAT USES SPLIT DATABASE DESIGNThis section suggests a method for upgrading your split database application. A split database is one where you store the data (tables and relationships) in one database on a file server computer, and the rest of the application (queries, forms, reports, macros and modules) in another database on each user's hard disk.When your application uses split database design, you have the flexibility of upgrading users over a period of time instead of all at once; you can mix multiple versions of Microsoft Access in the application database (front end) without having to convert the data database (back end). Because you can mix Microsoft Access versions in the application database, this design also lends itself well to pilot testing and stress testing of your upgrade in a production environment. When you are ready to upgrade a split database application, use the steps in the following sections. Convert and Distribute the Application Database
Convert the Data Database
UPGRADING AN APPLICATION THAT USES SINGLE DATABASE DESIGNIn single database design, all database objects are stored in the same database file. If your application uses single database design, you may encounter some challenges timing and delivering the upgrade. In order to preserve the existing data in the application, you must include a current copy of the database with your setup files. That means you must establish a cut-off date when users will stop using the application, arrange to receive a backup copy of the live database, and then distribute the upgrade to all users before they can begin to use the application again.Follow these suggestions to minimize disruption to users when you are ready to convert a database that contains all of your application's data:
UPGRADING A SECURE APPLICATIONIf your run-time application uses Microsoft Access user-level security, you must decide whether to include an upgraded workgroup information file (System.mdw or System.mda) when you distribute your upgraded application. The workgroup information file contains all of the user and group account information that your application uses to implement security.As with any Microsoft Access database, after you create the workgroup information file in Microsoft Access 97 it will be inaccessible to users of earlier Microsoft Access versions. If your users will be running mixed versions of Microsoft Access, you must leave the workgroup information file in the earliest version of Microsoft Access that any user has. For example, as long as one user of your application is using Microsoft Access 2.0, the workgroup information file must remain a version 2.0 file. If all users are upgrading to a Microsoft Access 97 run-time application at the same time, the decision whether to upgrade the workgroup information file depends on the Microsoft Access version of that file. If your workgroup information file is a Microsoft Access 1.x or 2.0 file, re-create the workgroup information file in Microsoft Access 97 to take advantage of new security and performance features. For more information about converting a workgroup information file, search the Microsoft Access 97 Help Index for "converting workgroup information files." If your workgroup information file is a Microsoft Access 7.0 file, you do not need to convert it when you convert your application in Microsoft Access 97. However, you should compact the workgroup information file in Microsoft Access 97 before you redistribute it. For more information about how to compact the workgroup information file, search the Microsoft Access 97 Help Index for "converting databases," and then "Convert a secured database from a previous version of Microsoft Access." Scroll to the bottom of the topic and click the link called "Convert a Microsoft Access 95 secured database when all users are upgrading to Microsoft Access 97." UPGRADING A REPLICATED APPLICATIONYou must exercise some caution when you upgrade a replicated application. All it takes to convert a replica database to a Microsoft Access 97 database is to synchronize with a Microsoft Access 97 Design Master. For this reason, if one user in a replica set upgrades to Microsoft Access 97, all users in a replica set must upgrade also.When you want to test conversion on a replicated application, be sure to make a copy of the Design Master database and test conversion on the copy. That way you minimize the risk of accidentally upgrading other members in the replica set by synchronizing with them. For more information about a converting a replica set in Microsoft Access 97, search the Help Index for "converting replicas." UPGRADING AN APPLICATION IN A MIXED VERSION ENVIRONMENTOften you cannot upgrade all users to the latest version of Microsoft Access at the same time. Sometimes the issue is timing, and you are unable to upgrade all users at the same time. Sometimes the issue is hardware or software, and one or more users do not have the system requirements to run Microsoft Access 97.Whatever the reason for the mixed environment, your application must use a split database design if you plan to support multiple users in more than one version of Microsoft Access at a time. With split database design, the application database that resides on each user's hard disk can be a Microsoft Access 2.0, 7.0, or 97 database. The data database that resides on the network file server must remain in the earliest version of Microsoft Access that any user has. For example, if you have only one user with a Microsoft Access 2.0 application database, the data database must remain a version 2.0 database. Additional query words: ODE
Keywords : kbusage |
Last Reviewed: July 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |