I need some insight.
I need a way to check if a form is open, if it is then bring it to the forefront, if not open it.
When opening a new menu the calling menu should be closed and the next menu opened.
I found a function to test if a form is open.
Here is a simplistic script that I have so far.
I am having problems with a menu that is already open but behind another menu/form.
Thanks
John Fuhrman
I need a way to check if a form is open, if it is then bring it to the forefront, if not open it.
When opening a new menu the calling menu should be closed and the next menu opened.
I found a function to test if a form is open.
Here is a simplistic script that I have so far.
I am having problems with a menu that is already open but behind another menu/form.
Code:
Private Sub btnTrackingInput_Click()
If fIsLoaded("Form_TrackingTable") = False Then
DoCmd.OpenForm ("TrackingTable")
Else
' docmd.SelectObject (acForm ,"TrackingTable",,)
End If
End Sub
Thanks
John Fuhrman