Use case
Convert .mdb to .accdb in Access: method and pitfalls
An Access `.mdb` database still opens in current versions, but it misses what the `.accdb` format has brought since Access 2007. The conversion takes a few minutes; what needs care is everything around it: security, linked tables, references.
Before converting
- Make a copy of the
.mdbfile. The conversion creates a new file and leaves the original untouched, but a backup copy never hurts. - Check the format: Access converts
.mdbfiles in Access 2000 or 2002-2003 format. An Access 97 file no longer opens in Access 2013 and later: it must first be converted with an older version (Access 2010, for instance). - An
.mdecannot be converted: it is a compiled version, without the source code. You need the original.mdb. - A replicated database must first be turned back into an ordinary database: the
.accdbformat does not support replication. - User-level security (
.mdwworkgroup file, accounts and permissions) does not exist in.accdb: it is lost in the conversion. Plan another protection before converting.
The conversion, step by step
- Open the
.mdbin Access (2010 or later), as the only user. - File › Save As, then Save Database As and **Access Database (*.accdb)**.
- Choose the name and folder of the new file: Access creates and opens it; the
.mdbstays as it is. - In the VBA editor, Tools › References: no line should be marked “MISSING”.
- Debug › Compile: fix what the compiler reports, then Compact and Repair.

A database split into two files
Convert both: the back end, then the front end. Then open the converted front end and relink its tables to the new back end with the Linked Table Manager: otherwise it keeps reading the old .mdb, or stops on error 3044 if that file was moved.
What the conversion does not fix
The format changes, the content stays: queries, forms and code are carried over as they are, faults included. A Declare without PtrSafe will still stop on 64-bit Office (how to tell whether your Office is 32-bit or 64-bit), a reference to a missing library will still be missing, a path written for the author's PC will still be wrong. And whatever relied on .mdw security is no longer protected.
The Auscult diagnostic accepts .mdb files as well as .accdb. Run before the conversion, it shows what works and what already stops; run again on the converted file, it shows whether anything changed. See the Access database audit.