Office Compatibility Issues

Troubleshoot Legacy Access Databases in 32-Bit and 64-Bit Microsoft 365

Huda QurayshiHuda Qurayshi Nov 13, 2026 869 views

Question details

The user needs to run a legacy Access database in 64-bit Microsoft 365 and determine why some queries fail after migration from older 32-bit Access versions.

Troubleshoot Legacy Access Databases in 32-Bit and 64-Bit Microsoft 365
Product
Microsoft Access for Microsoft 365
Device & OS
not provided
Scenario
A database originally created in Access 97 has been migrated through several Access versions and imported into 64-bit Access. The user has not written VBA and wants existing queries to work.
Observed behavior
Importing the database into 64-bit Access did not resolve the problem. Some queries, including an Access-generated update query, fail, and an affected query cannot be opened in Design view.
Before you start

In Access, open File > Account > About Access to confirm whether the installed version is 32-bit or 64-bit, then record the exact query error. Use a separate test copy of the database when compiling code or testing update queries, since update queries change stored data.

Solution 1Recommended

Capture the exact error and check VBA references in 64-bit Access

Start here to distinguish code or reference problems from query and database migration issues.

Not having written VBA does not guarantee that the database contains no code. Existing forms, reports, or imported modules may contain VBA, but a query failure alone does not prove a VBA bitness problem.

1
Record the failing query and message

In the Navigation Pane, right-click the affected query and choose Design View. Record the full error text, the query name, and whether the same error appears when you open other queries.

2
Check for existing VBA

Press Alt+F11 to open the Visual Basic Editor. Expand the database project in Project Explorer and look for standard modules or form and report modules.

3
Inspect references

In the Visual Basic Editor, choose Tools > References and look for entries marked MISSING. Record each missing library and restore the required reference or component; remove a reference only if you confirm that the database does not need it.

4
Compile the project if code exists

If the database contains VBA and the command is available, choose Debug > Compile in the Visual Basic Editor. Record the first error and the highlighted code. If there is no VBA project to compile, continue with query and dependency checks instead.

Capture the exact error and check VBA references in 64-bit Access
The exact error determines the next fix: A missing reference, incompatible API declaration, unavailable function, or invalid query expression can require different repairs. Importing objects into a new database does not automatically correct these dependencies.
Free Microsoft Office alternative

Use WPS Office for Documents and Spreadsheets Alongside Access

WPS Office is a free, lightweight alternative for everyday document, spreadsheet, and presentation work, with a familiar interface and Microsoft Office format compatibility for easy migration. It does not open or repair Access database files; keep Microsoft Access for database queries and use WPS for supported files exported from your database.

Work with Access data exported to XLSX or CSV in WPS Spreadsheet.Supports Microsoft Word DOCX, Excel XLSX, and PowerPoint PPTX formats.A familiar Office-style interface makes everyday document work easy to transition.Free, lightweight tools for reports, spreadsheets, and presentations alongside your database workflow.
microsoft office alternative - wps office

Frequently Asked Questions

Can a database created in 32-bit Access work in 64-bit Access?

Often, yes. The original Office architecture alone does not make every database incompatible. Open the database in 64-bit Access and check any VBA declarations, references, drivers, and external components. Older file formats may also require conversion in a compatible Access version before use.

Why do queries fail if I never wrote VBA?

The database may contain inherited code, expressions that call functions, linked data sources, or dependencies from earlier migrations. Right-click the failing query and choose Design View to capture the exact error, then press Alt+F11 to check whether existing modules and references are present.

Does adding PtrSafe fix all 64-bit Access errors?

No. PtrSafe is required for relevant VBA API declarations in 64-bit Office, and pointer or handle types must also be correct. It does not repair SQL errors, missing tables, broken references, or incompatible external drivers.

Should I switch to 32-bit Microsoft 365 for an Access 97-era database?

Consider it if the database works in 32-bit Access, depends on older 32-bit components, and you have no 64-bit requirement. Confirm your current architecture under File > Account > About Access and test the database in a working 32-bit environment before reinstalling Office.

Can WPS Office open or fix an Access database?

No. WPS Office is not an Access database engine and cannot repair MDB or ACCDB files or execute Access queries. In Access, use the External Data tab to export a table or query result to Excel or a text format, then open the exported XLSX or CSV file in WPS Spreadsheet.