Access error reference
Access error 2450: cannot find the referenced form (how to fix)
A button, a query or a calculated control reads a value from another form, with `Forms!FormName!Control`. If that form is not open, or no longer has that name, Access answers that it cannot find the form.
The message

Microsoft Access cannot find the referenced form '…'.
On a French Access: « Microsoft Access ne trouve pas le formulaire « … » auquel il est fait référence. » When the application has a title, it often replaces “Microsoft Access” at the start of the message.
Where it shows up
In code (Forms!frmMenu!txtUser, Forms("frmCustomers").Requery), in a macro, in a calculated control's source, or in query criteria that read another form.
Common causes
- the form named is not open: the code assumes the user goes through the menu, or that another form is already shown;
- the form was renamed or deleted, and the reference keeps the old name;
- a typo in the form name;
- a subform addressed like a form:
Forms!frmOrderLinesinstead ofForms!frmOrder!sfLines.Form.
How to reproduce and check it
- Close all forms, then open the failing one on its own: if the error appears, it depends on a form that is not open.
- Look for the quoted name in the Navigation Pane: if it is not there, the form was renamed or deleted.
- In the VBA editor, Edit, Find (Ctrl+F) across the whole project: the quoted name shows every line that refers to it.
How to fix it
Restore the form's name, or fix the reference. If the form may be closed, test it before reading it: If CurrentProject.AllForms("frmMenu").IsLoaded Then strUser = Forms!frmMenu!txtUser.
For a subform, go through the control that holds it: Forms!frmOrder!sfLines.Form!txtTotal. To pass a value, prefer the opening argument: DoCmd.OpenForm "frmDetails", , , , , , Me.txtId, read with Me.OpenArgs.
What Auscult reports
The diagnostic tries every form and button in Access and records error 2450 with the object that raises it. The report explains it as “The action calls a form or a report that does not exist, or is not open” and suggests restoring the form involved.
When a form has a name close to the one quoted, the report often gives a proposed fix, to be checked: the form with the closest name, and the line of code or the property that keeps the old name.
Related errors
- 7874 — can't find the object, the same fault for a table, a query or a macro
- 2465 — can't find the field, when the form exists but the control does not
- 2501 — action was canceled
- The Access error reference, code by code