| | Product Information Help and How-to Training Templates Support and Feedback Technical Resources Additional Resources | Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.
Use an Access file with multiple versions of Access
You can use a Microsoft Access 2000 database (Microsoft Access database: A collection of data and objects (such as tables, queries, or forms) that is related to a particular topic or purpose. The Microsoft Jet database engine manages the data.) or Access 2000 project (Microsoft Access project: An Access file that connects to a Microsoft SQL Server database and is used to create client/server applications. A project file doesn't contain any data or data-definition-based objects such as tables and views.) in both Access 2000 or later— even if the file is an Access database employing security features. If you also want to make an Access database available to users of Access 97 or earlier, use one or more of the following procedures. Use a one-file Access database with several versions of Microsoft Access
If your Microsoft Access database (database: A collection of data related to a particular subject or purpose. Within a database, information about a particular entity, such as an employee or order, is categorized into tables, records, and fields.) is in one file, and you want to use it in several versions of Microsoft Access, convert it to a front-end/back-end application (front-end/back-end application: An application consisting of a "back-end" database file that contains tables, and copies of a "front-end" database file that contain all other database objects with links to the "back-end" tables.). The data remains in the oldest version of Access, and you use a front end that has been converted to Access 2000 or later.
- Convert the Access database to Access 2000 or Access 2002 - 2003 file format. When converting, specify a new name for the file.
How?
- Make a backup copy of the Microsoft Access file (Microsoft Access file: An Access database or Access project file. An Access database stores database objects and data in an .mdb file. A project file doesn't contain data and is used to connect to a Microsoft SQL Server database.) you're going to convert.
- If possible, compile the Access file in the previous version of Access. This reduces the possibility of errors during conversion.
- Close the Access file. If the file is a multiuser (multiuser (shared) database: A database that permits more than one user to access and modify the same set of data at the same time.)
Access database (Microsoft Access database: A collection of data and objects (such as tables, queries, or forms) that is related to a particular topic or purpose. The Microsoft Jet database engine manages the data.) located on a server or in a shared folder, make sure that no one else has it open.
- Start Access.
- On the Tools menu, point to Database Utilities, point to Convert Database, and then click the file format you want for the new file.
- In the Database To Convert From dialog box, select the database you want to convert and then click Convert.
- In the Convert Database Into dialog box, do one of the following:
- Type a name for the new file.
- Select a different location for the new file. (You can keep the same name, or change it.)
You cannot convert an Access database into a file with the same name and location as the original database.
- Click Save.
- On the Tools menu, point to Database Utilities and use the Database Splitter to split the converted database into a front-end/back-end application.
- Delete the back-end database that the Database Splitter created.
You want your data to remain in the original database, so you will use the original database as the back-end database. The back-end database should be in the oldest version of Microsoft Access that is being used.
- On the Tools menu, point to Database Utilities and use the Linked Table Manager to link (link (tables): An action that establishes a connection to data from another application so that you can view and edit the data in both the original application and in Access.) the new front-end database to the tables in the previous-version database.
You can then enhance the new front-end database to support new features for users that have upgraded to Microsoft Access 2000 or later. Users of previous versions can continue to use the previous-version database. For example, if the back-end tables are in Microsoft Access version 2.0 format, you can use up several versions of Microsoft Access: Microsoft Access version 2.0 (using the original database), Microsoft Access 95 and 97 (using an enabled version of the original database or a converted front-end database), Microsoft Access 2000 or later (using a converted front-end database).
Use a front-end/back-end application with several versions of Microsoft Access
If your Microsoft Access database (database: A collection of data related to a particular subject or purpose. Within a database, information about a particular entity, such as an employee or order, is categorized into tables, records, and fields.) is already a front-end/back-end application (front-end/back-end application: An application consisting of a "back-end" database file that contains tables, and copies of a "front-end" database file that contain all other database objects with links to the "back-end" tables.), you only need to convert the front end to Access 2000 or Access 2002 - 2003 file format.
- Leave the back-end database alone.
- Convert the front-end database to Access 2000 or Access 2002 - 2003 file format.
How?
- Make a backup copy of the Microsoft Access file (Microsoft Access file: An Access database or Access project file. An Access database stores database objects and data in an .mdb file. A project file doesn't contain data and is used to connect to a Microsoft SQL Server database.) you're going to convert.
- If possible, compile the Access file in the previous version of Access. This reduces the possibility of errors during conversion.
- Close the Access file. If the file is a multiuser (multiuser (shared) database: A database that permits more than one user to access and modify the same set of data at the same time.)
Access database (Microsoft Access database: A collection of data and objects (such as tables, queries, or forms) that is related to a particular topic or purpose. The Microsoft Jet database engine manages the data.) located on a server or in a shared folder, make sure that no one else has it open.
- Start Access.
- On the Tools menu, point to Database Utilities, point to Convert Database, and then click the file format you want for the new file.
- In the Database To Convert From dialog box, select the database you want to convert and then click Convert.
- In the Convert Database Into dialog box, do one of the following:
- Type a name for the new file.
- Select a different location for the new file. (You can keep the same name, or change it.)
You cannot convert an Access database into a file with the same name and location as the original database.
- Click Save.
- On the Tools menu, point to Database Utilities and use the Linked Table Manager to link (link (tables): An action that establishes a connection to data from another application so that you can view and edit the data in both the original application and in Access.) the new Access 2000 or later front-end database to the tables in the previous-version back-end database. You can then enhance the Access 2000 or later front-end database to support new features for users that have upgraded to Access 2000 or later.
Open a database created in Access 97 or earlier without converting it
You can open a Microsoft Access database (Microsoft Access database: A collection of data and objects (such as tables, queries, or forms) that is related to a particular topic or purpose. The Microsoft Jet database engine manages the data.) created in Access 97 or earlier without converting it.
- Make sure that the Access database you're going to enable (enabled database: A previous-version database that has been opened in Access 2000 or later without converting its format. To change the design of the database, you must open it in the version of Access in which it was created.) is closed. If the file is a multiuser (multiuser (shared) database: A database that permits more than one user to access and modify the same set of data at the same time.) Access database located on a server or in a shared folder, make sure that no one else has it open.
- Click Open
on the Database toolbar.
- In the Open dialog box, click the previous-version Access database you want to enable and click Open.
- In the Convert/Open Database dialog box, click Open Database.
Microsoft Access enables (enabled database: A previous-version database that has been opened in Access 2000 or later without converting its format. To change the design of the database, you must open it in the version of Access in which it was created.) the previous-version database by storing additional information in the file to accommodate the default file format specified on the Advanced tab of the Options dialog box. An enabled database can still be opened with its original version of Microsoft Access.
Use an Access database employing security features with multiple versions of Access
With one exception, the issues involved when sharing a database employing security features across more than one version of Microsoft Access are the same as the issues for sharing an unsecured database across more than one version. The one exception concerns how to handle the workgroup information files (workgroup information file: A file that Access reads at startup that contains information about the users in a workgroup. This information includes users' account names, their passwords, and the groups of which they are members.) that are used with the security-enabled database.
-
Do one of the following:
- If you want to share a security-enabled database from Access 95 or 97, tell users who will be upgrading to Access 2002 or later to join the appropriate workgroup information file with the oldest version of Access that will be sharing the security-enabled database.
How?
Important If you are setting up user-level security (user-level security: When using user-level security in an Access database, a database administrator or an object's owner can grant individual users or groups of users specific permissions to tables, queries, forms, reports, and macros.) and need to make sure that your workgroup (workgroup: A group of users in a multiuser environment who share data and the same workgroup information file.) and its permissions (permissions: A set of attributes that specifies what kind of access a user has to data or objects in a database.) can't be duplicated, you should make sure the workgroup information file (workgroup information file: A file that Access reads at startup that contains information about the users in a workgroup. This information includes users' account names, their passwords, and the groups of which they are members.) that defines the workgroup you're joining has been created with a unique workgroup ID (WID (workgroup ID: A case-sensitive alphanumeric string that is 4 to 20 characters long and that you enter when creating a new workgroup information file by using the Workgroup Administrator. This uniquely identifies the Admin group for this workgroup file.)). If such a workgroup information file doesn't exist, you should create one.
- Start Microsoft Access.
- On the Tools menu, point to Security, and then click Workgroup Administrator.
- In the Workgroup Administrator dialog box, click Join.
- Type the path and name of the workgroup information file that defines the Microsoft Access workgroup you want to join, and then click OK, or click Browse and then use the Select Workgroup Information File dialog box to locate the workgroup information file.
The next time you start Microsoft Access, it uses the user (user account: An account identified by a user name and personal ID (PID) that is created to manage the user's permissions to access database objects in an Access workgroup.) and group accounts (group account: A collection of user accounts in a workgroup, identified by group name and personal ID (PID). Permissions assigned to a group apply to all users in the group.) and passwords stored in the workgroup information file for the workgroup you joined.
Access 2002 or later can use workgroup information files that have been created with any previous version. With one exception, a previous version of Access can't use a workgroup information that was created in a later version. The exception is Access 2000, which can use a workgroup information file that was created in Access 2002 or later if that workgroup information file is in Access 2000 file format.
Important If users will be sharing a security-enabled database from Microsoft Access 95 or 97, you should compact the current workgroup information file with Access 2002 or later before using it. Compacting the file by using Access 2002 or later does not change the file format, so the file can continue to be used by any Microsoft Access 95 or 97 users who are not upgrading.
- If the shared database is Microsoft Access version 2.0, convert the workgroup information file that will be used with the security-enabled database.
How?
You do not need to convert a Microsoft Access 2000 workgroup information file (workgroup information file: A file that Access reads at startup that contains information about the users in a workgroup. This information includes users' account names, their passwords, and the groups of which they are members.) to Access 2002 or later. However, to take advantage of security and performance improvements, you should re-create workgroup information files from Access 97 or earlier as described below.
- Create a new workgroup information file, making sure to enter the exact, case-sensitive name, company name, and workgroup ID (workgroup ID: A case-sensitive alphanumeric string that is 4 to 20 characters long and that you enter when creating a new workgroup information file by using the Workgroup Administrator. This uniquely identifies the Admin group for this workgroup file.) that was used to create the original file. Failure to re-enter the exact entries that were used to create the original file will create an invalid Admins group (Admins group: The system administrator's group account, which retains full permissions on all databases used by a workgroup. The Setup program automatically adds the default Admin user account to the Admins group.).
How?
A Microsoft Access workgroup information file (workgroup information file: A file that Access reads at startup that contains information about the users in a workgroup. This information includes users' account names, their passwords, and the groups of which they are members.) contains a list of users who share data, also know as a workgroup (workgroup: A group of users in a multiuser environment who share data and the same workgroup information file.). Users' passwords are also stored in the workgroup information file. To control who has access to your database, you must create a new workgroup information file.
- Start Microsoft Access.
- On the Tools menu, point to Security, and then click Workgroup Administrator.
- In the Workgroup Administrator dialog box, click Create.
- In the Workgroup Owner Information dialog box, type your name and organization, and then type any combination of up to 20 numbers and letters for the workgroup ID (WID) (workgroup ID: A case-sensitive alphanumeric string that is 4 to 20 characters long and that you enter when creating a new workgroup information file by using the Workgroup Administrator. This uniquely identifies the Admin group for this workgroup file.).
Caution Be sure to write down your exact name, organization, and workgroup ID— including whether letters are uppercase or lowercase (for all three entries)— and keep them in a secure place. If you have to re-create the workgroup information file, you must supply exactly the same name, organization, and workgroup ID. If you forget or lose these entries, you can't recover them and might lose access to your databases.
- Type a new name for the new workgroup information file. By default, the workgroup information file is saved in the language folder. To save in a different location, type a new path or click Browse to specify the new path.
- Click OK.
The new workgroup information file is used the next time you start Microsoft Access. Any user (user account: An account identified by a user name and personal ID (PID) that is created to manage the user's permissions to access database objects in an Access workgroup.) and group accounts (group account: A collection of user accounts in a workgroup, identified by group name and personal ID (PID). Permissions assigned to a group apply to all users in the group.) or passwords that you create are saved in the new workgroup information file. To have others join the workgroup defined by your new workgroup information file, copy the file to a shared folder (if you didn't already save it in a shared folder in step 5), and then have each user run the Workgroup Administrator to join the new workgroup information file.
- Re-create any group accounts, making sure to enter the exact, case-sensitive group name and personal ID (PID (personal ID: A case-sensitive alphanumeric string that is 4 to 20 characters long and that Access uses in combination with the account name to identify a user or group in an Access workgroup.)) for each group.
How?
As part of securing a database, you can create group accounts (group account: A collection of user accounts in a workgroup, identified by group name and personal ID (PID). Permissions assigned to a group apply to all users in the group.) in your Microsoft Access workgroup (workgroup: A group of users in a multiuser environment who share data and the same workgroup information file.) that you use to assign a common set of permissions (permissions: A set of attributes that specifies what kind of access a user has to data or objects in a database.) to multiple users.
To complete this procedure, you must be logged on as a member of the Admins group (Admins group: The system administrator's group account, which retains full permissions on all databases used by a workgroup. The Setup program automatically adds the default Admin user account to the Admins group.).
- Start Microsoft Access by using the workgroup in which you want to use the account.
Important The accounts you create for users must be stored in the workgroup information file (workgroup information file: A file that Access reads at startup that contains information about the users in a workgroup. This information includes users' account names, their passwords, and the groups of which they are members.) that those users will use. If you're using a different workgroup to create the database, change your workgroup before creating the accounts. You can change workgroups by using the Workgroup Administrator.
- Open a database.
- On the Tools menu, point to Security, and then click User And Group Accounts.
- On the Groups tab, click New.
- In the New User/Group dialog box, type the name of the new account and a personal ID (PID) (personal ID: A case-sensitive alphanumeric string that is 4 to 20 characters long and that Access uses in combination with the account name to identify a user or group in an Access workgroup.).
Caution Be sure to write down the exact account name and PID, including whether letters are uppercase or lowercase, and keep them in a secure place. If you have to re-create an account that has been deleted or created in a different workgroup, you must supply the same name and PID entries. If you forget or lose these entries, you can't recover them.
Note A user account name cannot be same as an existing group account name, and visa versa.
- Click OK to create the new group account.
Note The PID entered in step 5 is not a password. Microsoft Access uses the PID and the user name as seeds for an encryption algorithm to generate an encrypted identifier for the user account (user account: An account identified by a user name and personal ID (PID) that is created to manage the user's permissions to access database objects in an Access workgroup.).
- Re-create each user account, making sure to enter the exact, case-sensitive user name and PID for each user.
How?
To complete this procedure, you must be logged on as a member of the Admins group (Admins group: The system administrator's group account, which retains full permissions on all databases used by a workgroup. The Setup program automatically adds the default Admin user account to the Admins group.).
Note It is usually easier to manage security if you organize users into groups, and then assign permissions (permissions: A set of attributes that specifies what kind of access a user has to data or objects in a database.) to groups rather than to individual users.
- Start Microsoft Access by using the workgroup (workgroup: A group of users in a multiuser environment who share data and the same workgroup information file.) in which you want to use the account.
Important The accounts you create for users must be stored in the workgroup information file (workgroup information file: A file that Access reads at startup that contains information about the users in a workgroup. This information includes users' account names, their passwords, and the groups of which they are members.) that those users will use. If you're using a different workgroup to create the database, change your workgroup before creating the accounts.
- Open a database.
- On the Tools menu, point to Security, and then click User And Group Accounts.
- On the Users tab, click New.
- In the New User/Group dialog box, type the name of the new account and a personal ID (PID) (personal ID: A case-sensitive alphanumeric string that is 4 to 20 characters long and that Access uses in combination with the account name to identify a user or group in an Access workgroup.), and then click OK to create the new account, which is automatically added to the Users group (Users group: The group account that contains all user accounts. Access automatically adds user accounts to the Users group when you create them.).
Caution Be sure to write down the exact account name and PID, including whether letters are uppercase or lowercase, and keep them in a secure place. If you ever have to re-create an account that has been deleted or created in a different workgroup, you must supply the same name and PID entries. If you forget or lose these entries, you can't recover them.
Notes
Tell only users who are upgrading to Microsoft Access 2000 or later to join the converted workgroup information file. All users who are not upgrading from version 2.0 must continue to use the workgroup information file produced with their original version.
|