Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
When using the acDialog WindowMode, the form will have the main Access windows assigned as its parent (instead of the MDI client window of Access). So....
Declare Function GetParent Lib "user32" (ByVal hWnd As Long) As Long
Function IsPopup(frm As Form) As Boolean
Dim hWndParent as Long
hWndParent = GetParent(frm.hWnd)
IsPopup = (hWndParent = Application.hWndAccessApp)
End Function