Fix Microsoft Access Crashes from Multiple DLookup Calls on a Union Query
Question details
Prevent Microsoft Access from crashing when a query runs multiple DLookup functions against the same saved union query or source.
- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A query uses multiple DLookup expressions to retrieve values from one saved union query or source.
- Observed behavior
- Microsoft Access may crash when the query runs.
Identify the query that crashes, the DLookup expressions it contains, and the saved union query or source they reference. Check which fields and criteria each lookup uses so you can compare results after changing the query.
Replace Repeated DLookup Calls with a Join or Grouped Query
Use this approach to reduce repeated lookups against the same source and test whether a simpler query avoids the crash.
In the Access Navigation Pane, right-click the failing query and select Design View. Note each DLookup field, source, and criteria expression.
Open the saved union query and check whether it returns more than one row for each lookup key. If necessary, create a grouped query through Create > Query Design that returns one row per key and the values you need.
In the failing query's Design View, add the union query or grouped query and join its key field to the matching field in the main source. Choose the join type based on whether records without a match should remain in the results.
Replace the DLookup expressions in the design grid with fields from the joined source, then select Run. Compare the results and row counts with the intended lookup results.
Create a Minimal Reproduction and Request Help
Use a small test database to isolate the crash and give Microsoft Support or an Access technical forum enough information to investigate.
Use WPS Office for Everyday Office Documents
WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support help make migration straightforward. It does not fix Microsoft Access crashes or replace Access database queries.

Frequently Asked Questions
Why might a join be better than several DLookup calls?
A join can retrieve several fields from the same source without separate DLookup expressions. In Query Design, add the source and join it on the lookup key, then verify that duplicate matches do not change the row count.
Can I join directly to a saved union query?
Yes. Add the saved union query as a source in Query Design and join its key field to the main query. Check for duplicate keys first, because multiple matches can produce extra rows.
What should I include in a crash reproduction?
Create a small Access database containing only the relevant tables, sample records, union query, and failing expressions. Confirm that running the query reproduces the crash before sharing it.
Can WPS Office repair an Access DLookup crash?
No. The crash must be investigated in Microsoft Access. WPS Office can be used for compatible documents, spreadsheets, and presentations, but it does not replace Access database queries.




