Follow these steps to update your MDE file:
1. Rename your MDE file as a backup file.
For example, add today’s date to the end of the file name (right before the .mde part). You’re about to create a new MDE file, but you don’t want to lose the data in this file.
2. Open the original MDB file and make any changes to contain the forms, reports, and VBA code that you want.
If you plan to make drastic changes, make a backup copy of the MDB first.
3. Choose Tools –> Database Utilities –> Make MDE File and save it as an MDE file with the name that your MDE file originally had.
Now you have an updated MDE file with new, improved forms, reports, and VBA procedures, but with old data. You also have an updated MDB file with your new, improved forms, reports, and VBA code (but out-of-date tables).
4. Delete all the tables from this new MDE file.
In the Database window, click the Tables button in the Objects list, click each table in the list that appears in the right pane and then press the Delete key for each table. You need to confirm each deletion by clicking the Yes button. Deleting tables sounds dangerous, but remember you have all these tables stored safely in your old MDE file.
5. Import the tables from the old MDE file to the new one.
Choose File –> Get External Data –> Import and choose the name you gave your old MDE file in Step 1.
You see the Import Objects dialog box, with tabs for Tables, Queries, Forms, Reports, and other objects.
6. Click the Select All button with the Tables tab selected and then click OK.
Access imports your tables from the original MDE to the new MDE files, replacing the older data in the tables.
7. Import any queries or macros in the old MDE database that you created or changed.
Repeat Steps 5 and 6, but use the Queries and Macros tabs on the Import Objects dialog box to import whatever has changed.
If you are going to do this often, consider splitting your table into a front end and a back end. With a split database, you don’t have to re-import your updated tables: You can just leave them in the unchanged back-end database.