Hello all,
I am attempting to check and see if a sub form in a navigation form is open. I am using
The sub form is 2 navigation forms deep. Usually when I refer to a control with in that form, I go to the control in the form because the system sees the form as a control. Example: [Forms]![frmNav1]![frmNav2].[Form].[ctl], but for this purpose, I do not want to check for the control inside the sub sub form. With that being said and that I know navigation forms are not preferred, this is what I have and do not want to redo the whole db. I know I am overlooking something ridiculous, but could use some insight.Code:If CurrentProject.AllForms([Forms]![frmNav1]![frmNav2].[Form].[subfrm]).IsLoaded = True Then MsgBox ("test") End If
Thank you!