Skip to content
Auscultby NBIT
EN
Free diagnostic

In depth · Migration

How to migrate an Access database: where to start, in 5 steps

An Access application that is fifteen years old often runs an entire department, with no documentation. Before talking technology, you need a reliable assessment: what it contains, what really works, what puts your data at risk.

Two people drafting a plan on paper next to laptops

The question "what should we migrate to?" nearly always comes first. Power Apps, a custom web application, an off-the-shelf package, SQL Server with Access as the front end: each option has its champions. Yet none of these answers makes sense until you know what the application actually does today, and in what condition it does it.

This guide describes the method in 5 steps. To get the assessment done in a single run, see the Access database audit before migration tool.

A business Access application is rarely just a file of tables. It is a collection of forms, queries, printed reports, macros and VBA code, built up over the years by one or more people, often long gone. It carries business rules that nobody has written down anywhere else.

Why the assessment comes before the technical choice

Migrating means reproducing behaviour. If you do not know that behaviour, you reproduce assumptions. Migration projects that go off the rails often share the same starting point: a scope estimated from a few forms shown in a meeting, when the application actually has dozens, some unused for years and others carrying a critical calculation.

The first step, often skipped, is to audit the application before migrating: know what it contains and what still works.

  • The real volume: number of forms, reports, queries, code modules and tables. It weighs on the effort far more than the number of users.
  • What works: some objects are already broken in Access itself. Migrating them as they are makes no sense; they need fixing or dropping.
  • What is no longer used: orphan forms, queries never called, dead code. All of it is work saved if it is identified up front.
  • Dependencies: tables linked to other files or to a server, Excel or Outlook automation, external libraries, hard-coded network paths.

Step 1: inventory every object

The first step is a complete inventory: every table, query, form, report, macro and module, with their links. Which button opens which form? Which query feeds which report? What code runs at startup? The inventory is all the more reliable for being automatic: by hand, you always miss the objects nobody opens any more.

The application map in the report: forms, reports, queries and their links
A real excerpt from an Auscult report, on a demo application: each form linked to the one that opens it, from the home screen, with the ones that fail in Access in red.

Step 2: check what really works

An inventory tells you what exists, not what works. The only way to find out is to run the application: open every form, run every query, print every report, and record the errors Access returns. That is often when you discover forms that have crashed since the move to 64-bit Office, reports tied to a printer that no longer exists, or queries looking for a deleted table.

This check has a direct consequence for the project: only migrate what works. Everything else gets an explicit decision (fix, rewrite, drop), made with the users, rather than discovered at the end of acceptance testing.

Step 3: measure the risks and technical debt

Some flaws cause no visible error but weigh on what comes next:

  • passwords written in plain text in the code or in a table;
  • queries built by pasting the user's input, which fail as soon as a name contains an apostrophe;
  • Windows API declarations that will not run in 64-bit;
  • personal data, sometimes sensitive, with no particular protection;
  • links to files on a PC or a share that no longer exists.

These points are covered in our guides on the technical debt of Access applications and on Access databases and GDPR.

Step 4: choose the target with your eyes open

Once the assessment is done, choosing the target becomes a reasoned decision rather than a preference. A few pointers:

What you findRoute that often fits
Few forms, many users, need for access outside the officeWeb application, or Power Apps if the organisation already uses Microsoft 365
Heavy business logic in VBA, many formsCustom web application, migrated object by object
Large data volumes, application that works wellData to SQL Server or PostgreSQL, Access kept as the front end for a while
Need covered by an off-the-shelf packageData moved into that package, application retired

Our guide Access to the web: the options compares these routes in more detail.

Step 5: proceed in batches, without stopping the service

A successful migration is rarely done in one go. Start with the data, then the most-used forms, keeping the Access application in service until its replacement has been approved by its users. Each batch is tested by comparing the behaviour of the old and new versions on the same cases.

  1. Fix the list of objects to migrate, based on the assessment.
  2. Migrate and secure the data first, with a tested data migration.
  3. Rebuild forms and reports in order of actual use.
  4. Test each batch against the original application.
  5. Retire the Access application once every batch has been approved.

The Auscult diagnostic carries out this assessment on your PC, without sending the data in your tables: it opens every object in Access, records what works and what breaks, and measures the risks. The score and summary are free.

To put a price on it, see also estimating the effort without getting it wrong.

All articles

What about your application?

The diagnostic runs on your computer, without sending the contents of your tables. The summary is free.