microsoft.com Home | |||
http://www.microsoft.com/office/ork |
Upgrading to Access 2000How to Convert a Previous-version Database to Access 2000If you want to make design changes to a previous-version Microsoft Access database in Access 2000, or if you want to take advantage of Access 2000 features when you use a database, you must convert the database to Access 2000. Convert a previous-version Access databaseYou cannot convert an Access database into a file with the same name and location as the original database. Before you convert a previous-version Access database, perform the following tasks: If the Access database that you are using is a multiuser database located on a server or in a shared folder, make sure that no one else has it open. To convert a previous-version Access database
Convert a secured Access databaseBefore you convert a secured database, you must join the workgroup information file that defines the user accounts, and the user account that you use to log on during conversion must have the following permissions:
To join a workgroup information file
After you convert an Access database, you can make sure that it retains its security by recreating the workgroup information file in Access 2000. If you recreate the workgroup information file, you must have the exact, case-sensitive information, and you must define the accounts and groups exactly the same as the original workgroup information file. If you cannot recreate the workgroup information file, you can use the Workgroup Administrator to join the secure database’s previous-version workgroup information file. However, it is recommended that you convert the workgroup information file to Access 2000 before you join it. As long as you use the database with its original workgroup information, it retains all its security except permissions for the modules. Protect Visual Basic for Applications code in a converted databaseIn Access 2000, you cannot protect your modules with user-level security. However, you can protect your modules, and the code behind your forms and reports, by protecting the Visual Basic® for Applications (VBA) code with a password. To protect VBA code with a password
The next time you open the Access database or Access project, the Visual Basic for Applications code is protected. You or any user is required to enter the password to view and edit the Visual Basic for Applications code. When you protect Visual Basic for Applications code with a password, consider the following:
Convert new toolbars and menu barsAccess 97 or later supports a new style of toolbars and menu bars. When you convert an Access version 2.0 or Access 95 database to Access 2000, any custom toolbars, as well as built-in toolbars, are automatically converted to the new style of toolbar. Custom menu bars created with the Microsoft Access 95 Menu Builder or with macros that use AddMenu actions are interpreted as the new style of menu bars when you open a converted Access database. However, custom menu bars are not automatically converted, and therefore they cannot be edited by using the Customize dialog box. To create a menu bar or shortcut menu from previous-version macros
Enable Name AutoCorrect in a converted Access databaseThe Name AutoCorrect feature automatically corrects common side effects that occur when you rename forms, reports, tables, queries, or fields, or controls on forms and reports. However, this feature is not enabled by default in a converted database. To enable Name AutoCorrect in a converted Access database
Update code in a converted databaseThe DoMenuItem action is replaced in Access 2000 with the RunCommand action; the DoMenuItem action is still supported for backward compatibility. When you convert a database, the DoMenuItem action is automatically converted to the RunCommand action. If your Access database uses add-ins or library databases created in previous versions of Access, you must convert them. Access 2000 does not support the DAO 2.5/3.x compatibility library. If you attempt to convert an Access database in which the code contains older versions of DAO objects, methods, and properties that depend on the DAO 2.5/3.x compatibility library, you receive a message that there were compilation errors during the conversion of the database. Before you convert an Access database, update the code so that it does not depend on the DAO 2.5/3.x compatibility library. If you still receive a message that there were compilation errors during conversion, open the converted database in Access 2000, remove the reference to the missing DAO 2.5/3.x compatibility library, and then set a reference to the Microsoft DAO 3.6 Object Library. If you enable the database instead of converting it, you cannot remove or set references in Access 2000. You must make any changes to the code or the references in the previous version of Access. To remove or set a reference while the Visual Basic Editor is open
Convert a replica set to Access 2000To convert a replica set created in Access 97 so that you can use it in Access 2000, you must convert each replica individually. For best results, synchronize your replica set before conversion. If your replica set is secured, it is also helpful to convert the System.mdw file, which contains permissions for the database. For the conversion to work, all members of the replica set must be using computers with Access 2000 installed. Take a conservative approach when converting a replica set. The following procedure allows you to test a temporary second replica set before committing your original replica set to the conversion. Caution Do not synchronize the test Design Master you create by following this procedure with members of your working replica set. Otherwise, unintended changes to the data or structure of your working replica set might occur. To convert a replica set to Access 2000
If you want to change some objects, either you can make the changes in the original Design Master after you convert it or you can keep the copy to import the changed objects from the original Design Master. After you are satisfied that the copy works, delete the new Design Master and all of its replicas. Make sure that all users who have access to the Design Master and replica databases have installed Access 2000. Then you can follow the same steps to convert the original Design Master to Access 2000 and convert all the original replicas. Note You cannot open the converted replicas again in Access 97. See alsoFor more information about the Name AutoCorrect feature or converting a database that contains code, see Microsoft Access online Help. For more information about workgroup information files and secured Access databases, see Setting User-Level Security. |
|
Topic Contents | Previous | Next | Top Friday, March 5, 1999 © 1999 Microsoft Corporation. All rights reserved. Terms of use. | ||
License
|