In Access 2010 I have a main form frm_Main and three other forms: frm_B1, frm_B2, frm_Reports that are located on Main form navigation buttons Nav_B1, Nav_B2, Nav_Rep
They are all unbound forms.
When App starts it opens in frm_B1.
Frm_B1 and frm_B2 are in Parent Child relations.
I am updating tables on close even of frm_B1 and frm_B2 it means when Nav_B1 or Nav_B2 are clicked.
This is working ok, however I have issue with exit from application button.When I put exit button on frm_Main it gives me error: 2450 Microsoft Access cannot find the referenced form “frm_Main”.
On frm_Main I do not have any event happening.
On closing forms I assume that first are closed sub forms then main form, so even if on sub forms frm_Main is referenced it is open and present at that moment and Access should not throw this error.
First I can not figure point where this is happening and triggered and then how to avoid this.