Microsoft Office

Microsoft Access How To Convert Db File

To convert a Microsoft Access database, open its .mdb or .accdb file and choose the method for your destination: export tables or queries for Excel and CSV, use Save Database As for another Access format, or use migration tools for a database server. If your.

Which licences fit your PC setup?

Prices are an AUD snapshot, not a live quote. Confirm variant and total on the listing.

Check the file before choosing a conversion method

“DB file” can mean a database in general, but the filename extension matters. Access desktop databases normally use .accdb or .mdb. A file ending in .db might belong to SQLite or another application. Changing its extension does not convert its contents.

If you received a .db file, ask which application created it. Use that application's export tools or a compatible database driver to obtain data that Access can import. Do not assume that selecting Access on the External Data tab will import any database file.

Before working on an Access database, make a backup and decide whether you need its records or its application features. Tables contain records; queries select and calculate data; forms, reports, macros and VBA provide functionality that a spreadsheet cannot replace.

Choose the output that matches your task

Your goal Suitable route Main limitation
Analyse or share selected data Export a table or query to Excel Does not recreate the Access application
Transfer records to another application Export comma-delimited text as CSV Does not carry database relationships or field definitions
Keep working in Access using another file format Use Save Database As Some features are incompatible with older formats
Move tables to SQL Server or Azure SQL Use SQL Server Migration Assistant for Access Forms, reports and application code need separate attention

Export Access data to Excel

Use an export when you need a workbook containing table or query results. Access does not offer Excel as a database Save As format. Microsoft's Excel export instructions describe the available options.

  1. Open the Access database and select the table or query in the Navigation Pane.
  2. Choose External Data, then Excel in the Export group.
  3. Enter the destination filename and choose the workbook format.
  4. Review the formatting options. If exporting an open object, check whether you are exporting selected records or all records.
  5. Run the export, then open the workbook and inspect the results.

Export one object at a time. If you need information from related tables together, create a query with the required fields and export its results. Check joins carefully: a customer with several orders can appear in several rows.

A workbook contains a copy of the exported data. Later changes in Access do not automatically update that copy. For repeated exports, save the export steps rather than selecting the same settings each time.

Export a table or query to CSV

CSV is useful when the receiving application accepts plain tabular data. In Access, this route starts with Text File, rather than an Excel export or database Save As command.

  1. Select the source table or query, then choose External Data and Text File.
  2. Set the destination filename, using .csv for a comma-separated file.
  3. Leave Export data with formatting and layout cleared so the wizard offers a delimited export.
  4. Choose Delimited, select a comma as the separator and review the text qualifier. Include field names if the receiving application expects a header row.
  5. Complete the wizard and import the file into the destination application to check it.

For a subset of records, export a query that returns exactly those records. A filter applied in a datasheet is not a reliable substitute: Microsoft's text export guidance explains that unformatted delimited exports can include filtered rows and hidden columns.

Inspect identifiers with leading zeroes, dates, decimal values and text containing commas or quotation marks. Tell the receiving application which columns are text rather than relying on automatic detection.

Convert between Access database formats

For an .mdb database that your installed Access version can open, you can create an .accdb copy. Microsoft describes this process in its Access file format guide.

  1. Open the .mdb file in Access.
  2. Choose File, Save As, then Save Database As.
  3. Select Access Database as the target format.
  4. Save with a new filename and test the resulting .accdb database.

Conversion is not a guarantee that every application feature will work unchanged. Check forms, reports, queries and automation. The .accdb format does not support older replication or user-level security features.

Converting in the other direction can also encounter compatibility barriers. For example, attachment fields and multivalued fields can prevent saving to .mdb. Review Microsoft's earlier-format conversion guidance before removing features to make an older copy.

Migrate to another database platform

Moving to SQL Server, MySQL or another database engine involves both schema and data. Exporting CSV files transfers records, but you must separately recreate suitable field types, keys, indexes and relationships.

For SQL Server and Azure SQL, Microsoft's Access migration guidance explains how SQL Server Migration Assistant helps assess and migrate a database. Review conversion errors, migrate into a test destination and compare the results before switching users over.

SSMA does not convert forms, reports, macros or VBA modules into a server application. You may retain Access as the interface with linked server tables, or rebuild the interface separately. A web application also needs its own interface and access controls; moving tables alone does not create one.

Check the converted data before using it

  • Compare record counts for the same source selection and investigate missing or duplicated rows.
  • Check totals and representative records, including blank values, long text and unusual characters.
  • Confirm that identifiers retain their meaning and that relationships work in a migrated database.
  • Test any forms, reports or processes that depend on the converted data.

If an Office licence issue interrupts your work, the guides on Office activation using Command Prompt and Office product key checks using Command Prompt cover related setup topics. Check which instructions apply to your installation. Further application help is available in the Microsoft Office guides.

Start with a backup and one representative table: convert it to your chosen format, check its records in the destination, then repeat the process for the remaining data.

Other editions for separate workloads

Other editions for separate workloads; prices in AUD, confirm the total on the listing.

How to check this worked

  1. Open Settings, System, Activation and confirm the edition shown.
  2. Enter the key and run activation; expect a green tick within a minute.
  3. Reboot and re-check activation survives the restart.

FAQ

What else should you know before buying?

What do I need before starting?
Read the requirements and confirm the edition first; the steps assume the machine is compatible.
How do I know the licence is genuine?
Activate on Microsoft's servers and check Settings, System, Activation. A working activation is the test.
Is this a subscription?
Keys sold here are one-time lifetime licences. Microsoft 365 plans are billed by Microsoft instead.
What if the key fails?
Email hi@ms.codes with the order number and a screenshot. Replacement or refund applies within 30 days.

Check who prepared and reviewed this guide

Written by
MS.Codes editorial
Reviewed by
Support team

Last verified: (source review; see test status above).

Recent Post