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.
DoCmd.OpenForm "frmData", acDesign
On Error Resume Next
lngTemp = Forms("frmData").Section(acHeader).Height
' err 2462 = Section not found
If Err.Number <> 2462 Then
' item already exists
MsgBox "Form has header/footer"
Else
DoCmd.RunCommand acCmdFormHdrFtr
End If