About converting an Access file

When should I convert or enable an Access file?

Whether you should convert or enable a Microsoft Access file depends on which versions of Access users have upgraded to.

When to convert from Access 97 or earlier to Access 2000 or Access 2002 file format

In most cases, you'll want to convert a previous-version Microsoft Access database to Access 2000 file format if all users have upgraded to Access 2000 or later, and you'll want to convert to Access 2002 file format if all users have upgraded to Access 2002. In Access 2002, you can modify data and make design changes to an Access 2000 file. Although you can also enable an Access 97 or earlier database in Access 2002 without converting it, you can change the design of objects only in the previous version.

Once you've converted an Access database to Microsoft Access 2000 or Access 2002 file format, you can't open it in the previous version of Access. You can convert an Access 2000 database back to Access 97. However, you can't convert an Access 2000 database back to Access version 2.0 or 95.

If your Access database is a multiuser (shared) database, and all users can't upgrade to Microsoft Access 2000 or later at the same time, you can split the database so that it is a front-end/back-end application. You can then have different versions of the front end connected to the back end, which remains unaltered. Users of Access 2000 or later can use a converted version of the front end, where they can take advantage of new features.

When to convert an Access 2000 file to Access 2002 file format

If you want to save the Access file as an MDE or ADE in Access 2002, you must convert the file to Access 2002 file format. Otherwise, you don't necessarily need to convert a Microsoft Access 2000 file to the Access 2002 file format. If you're converting Access databases from Access 97 or earlier, it's recommended that you convert to Access 2000 file format first. Users of Access 2000 can open these Access files, and new Access 2002 features are available when you use an Access 2000 file in Access 2002. Once you've converted an Access file to Access 2002 file format, you can't open the file in Access 2000. However, you can convert an Access 2002 file back to Access 2000.

Convert to Access 2002 file format only if all users have upgraded to Access 2002, and you have been successfully using the file in Access 2000 file format. If all users have upgraded to Access 2002, you can develop an application in the Access 2002 file format without having to make sure that any object, method, property or function you use is also available in Access 2000.

The Access 2002 file format offers the following advantages:

When to open a previous-version Access database in Access 2002 without converting it

You may want to enable a Microsoft Access database in a multiuser environment where all users can't upgrade from Access 97 or earlier to Access 2002 at the same time. In this situation, a database must be used simultaneously with different versions of Microsoft Access, and users who have upgraded to Access 2002 can enable a database in a previous-version format.

When you're using Access 2002 to work with an enabled previous-version Access database, you can use objects in the database to view and modify data. However, you can't save changes to database objects. To modify the design of an object or create a new object in the Access database, you must either open it in the previous version or convert the database to Microsoft Access 2000 or Access 2002 file format.

Converting a previous-version Access file to Access 2000 or Access 2002 file format

You can convert a Microsoft Access database that was created in Access 2.0 or later to Access 2000 or Access 2002 file format. Also, you can convert an Access project from Access 2000 to Access 2002 file format.

The following changes might affect the conversion of an Access database:

Converting a previous-version secured Access database to Access 2000 or Access 2002 file format

Converting a secured Microsoft Access project from Access 2000 to Access 2002 file format requires no additional action because security is maintained in the Microsoft SQL Server database that the Access project is connected to. However, there are additional considerations when you convert a secured Access database from a previous version.

If all users of a previous-version secured database will be upgrading to Microsoft Access 2000 or later, you should convert the Access database to Access 2000 file format. If all users have upgraded to Access 2002, you can convert the Access database to Access 2002 file format. If necessary, you can still use the corresponding workgroup information file without converting it. However, recreating the workgroup information file in Access 2002 is recommended.

If only some users of a secured database will be upgrading to Access 2002, you can share the database and workgroup information file across all versions of Microsoft Access currently in use.

Important   You can't protect Visual Basic code in modules or code behind forms and reports with user-level security in Microsoft Access 2000 or later. Code in a secured database that you have converted from Access 97 or earlier is not protected until you create a password for the Visual Basic project.

Before converting a secured Access database, make sure you're using the workgroup information file that defines the user accounts used to access the database. The user account you use to log on during conversion must have the following permissions:

Converting a previous-version replica set to Access 2000 or Access 2002 file format

Converting an Access 2000 or Access 2002 file to a previous version

You can convert a Microsoft Access database in Access 2000 or Access 2002 file format back to Access 97. You can also convert an Access database or an Access project in Access 2002 file format back to Access 2000 file format.

Converting an Access 2000 or Access 2002 database back to Access 97

You can convert a Microsoft Access 2000 or Access 2002 database to an Access 97 database if it is not a member of a replica set. Any functionality that is specific to Access 2000 or Access 2002 is lost when you convert the database to Access 97. You can't convert an Access project back to Access 97.

Important  Unlike Access 2000 or Access 2002, Access 97 is not designed to work with ActiveX Data Objects (ADO).

Converting an Access 2000 or Access 2002 database to an Access 97 database makes the following changes to the converted database.

If you are converting a secured Access database, the user account that you use to log on must have the following permissions:

If you have protected the Access database with a password, you can convert it without removing the password. If you have protected the Microsoft Visual Basic for Applications (VBA) code with a password, you must supply the password in the Visual Basic Editor during conversion.

Converting an Access 2002 file back to Access 2000

You can convert an Access 2002 database or Access 2002 project back to Access 2000 file format. When you use an Access 2000 file in Access 2002, new Access 2002 features are still available. However, those features are not available when you use the same file in Access 2000. If the file contains Visual Basic procedures that use objects, functions, properties, methods, or arguments available only in Access 2002, you'll receive a compile error when you open the Access file in Access 2000.

The Conversion Errors table

If Microsoft Access encounters errors while converting an Access file, you can view a summary of these errors by opening the Conversion Errors table in the new Access file. The Conversion Errors table contains the following columns:

Object Type   The type of database object in which Access encountered an error, or "Database" if Access encountered an error that is not specific to a particular type of object.

Object Name   The name of the object in which Access encountered an error. If Access encounters a compilation error during conversion, however, the name of the module that contains the error is not specified.

Error Description   If necessary, you can press SHIFT+F2 to view the entire description of the error.

 

About opening a previous-version Access file without converting it

When you open a Microsoft Access version 2.0 database, an Access 95 database, or an Access 97 database in Access 2002, the Convert/Open Database dialog box asks you to choose between converting and opening (enabling) the Access database. When an Access 2002 user enables the database, Access maintains the original format so that users of previous versions of Access can continue to use the database. For example, if a shared database is created in Access version 2.0, it can be used with Access version 2.0 and enabled in Access 2002.

When you use an enabled Access database in Access 2002, you can view database objects and add, delete, or modify records in Access 2002, but you can't modify the design of objects. To modify the design of existing objects or to add new objects, you must open the file in the previous version of Access.

Size of an enabled Access database   Your Microsoft Access database may increase in size when you enable it. If you have already enabled a database in a previous version of Access, and if you enable it again in Access 2002, the size of the Visual Basic project will increase even more. In rare cases, you may have enabled a Access version 2.0 database in Access 95, enabled it again in Access 97, and enabled it again in Access 2000 or Access 2002; in this case, the Visual Basic project must store information in the format of each version.

Enabling a secured Access database   If your Microsoft Access database is secure, you can make sure that it retains its security by recreating the workgroup information file in Access 2002. 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 file format before you join it. In Access 2002, you can use a workgroup information file that was created in a previous version; however you can't use a workgroup information file created in Access 2002 in Access 97 or earlier.

As long as you use the database with its original workgroup information, it retains all its security except permissions for the modules. In Access 2000 or later, you can't use user-level security to protect modules. However, you can protect Visual Basic for Applications (VBA) code with a password.

Code compatibility   Microsoft Access 2000 or later does not support the DAO 2.5/3.x compatibility library. If you attempt to enable 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 enabling of the database. Before you enable the Access database, update the code so that it does not depend on the DAO 2.5/3.x compatibility library.

New style of toolbars and menu bars   Microsoft Access 97 or later supports a new style of toolbars and menu bars. When you enable an Access 95 database in Access 2002, custom toolbars are converted to the new style but the conversion isn't saved. Custom menu bars are interpreted as the new style menu bar, but the menu bar macros are not converted and continue to be supported.