Modernize Studio
Language: English
Get a free proposal

The Northwind database, from Access 97 to the web

Our migration method, tested on a public copy of the Microsoft Access sample database, so anyone can check it. Northwind is not a client.

Source
Access 97
Target
SQLite and PostgreSQL
Checks
855 query runs compared
Result
9/9 tables, 22/22 queries identical
The Northwind web application: order 10250 open for editing, with its three product lines, discounts and updated totals.
The web application on the migrated database: order 10250, with totals recalculated as you type. Northwind's companies and people are fictional.

Results

Every figure can be checked in the equivalence report.

  • 9/9 tables identical, row by row
  • 22/22 queries with identical results
  • 17/17 invalid entries rejected by the database
  • $1,265,793.02 total of the 2,155 order lines

The same amount in SQLite, PostgreSQL and the browser. With Access's rounding it differs by $0.16: the report explains every line.

Starting point

  • A 2,932 KB Access 97 file: 9 tables with 4,032 rows, 22 queries, 13 reports and 21 forms.
  • Images in a format only Access can display.
  • Business rules scattered across fields, relationships and report queries.

What we did

  1. Tables and rules

    All the data moved to SQLite and PostgreSQL, which also enforce the Access validation rules. The 17 images are now PNG files.

  2. Queries and calculations

    The 22 queries are now SQL views with the same names. So are the report calculations, from order totals to annual sales.

  3. Verification

    Automated tests compare the original file with the new databases: the rows of every table and the result of every query, obtained in four ways.

  4. Web application

    The Northwind application runs entirely in your browser: orders with totals calculated as you type, customers, products, suppliers, dashboards and the original reports, ready to print.

Technical details

How we checked the migration, the intentional difference and the text clean-up, what the tests found and how the application works.

How we checked

Tables: row counts and a checksum for every row. Queries: the full result of each one, calculated in four ways (Access SQL on the original file, an independent model, PostgreSQL and the browser) and compared.

An intentional difference and a text clean-up

Access calculates order lines in binary floating point and stores discounts as approximate numbers: 15% becomes 0.15000000596. On 18 of the 2,155 lines, whose exact amount falls on half a cent, the result shifts by one cent. The new databases store exact percentages and always round the same way: hence the $0.16 difference in the grand total.

We also removed a trailing space or an old-style line break from 148 text values. For example, one entry for the country Sweden had a trailing space: without the fix it would have counted as a separate country.

What the tests found

UCanAccess, a widely used tool for working with Access files from Java, reads this file's discount column as whole numbers: all 838 discounts become zero. The table checks caught it; the report explains how we made the comparison on equal terms. Jackcess, another Java library, rebuilds the SQL text of one query without the TOP 10: we read that clause from the file's system tables.

The application in the browser

The application loads the 1,116 KB database into your browser, with SQLite compiled to WebAssembly. Changes stay in the tab, and a button restores the original data.

For your program

The same method applies to Access, Excel VBA, VB6, Delphi and .NET, starting with a free written assessment.

  • The same figures

    The old and new programs work on the same data: totals, VAT and stock must match to the cent before handover.

  • Every difference explained

    You receive a report with the outcome of every check.

  • 30 days in parallel

    The old program stays in use for 30 days after go-live. We fix any differences that emerge, within the agreed price.

Contact

We work in writing: everything stays on record, so you can show it to your accountant or your IT person.

Send us your file

  1. Make a copy of the file; test data is fine.
  2. Attach it to your message. If you would like a non-disclosure agreement first, write to us without attaching the file.
  3. Within 48 hours you will receive the free written assessment and the price of a pilot module.

We work from Italy.

Send us the program

A small request is fine too. If anything is missing, we will ask you.

Fields marked * are required.

For example: what it is built with (Access, Excel, VB6, Delphi, .NET) · what it is used for · number of users

Attachment(optional)

Databases, Excel files, screenshots or a specification. For larger files, include a download link in your message. We only work on copies and delete them at the end of the project, with written confirmation.

Reply within one working day. Free proposal, no obligation.

Get a free proposal