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.
If CurrentProject.AllForms("YourFormNameHere").IsLoaded Then
Dim myDoc As Document
Dim dbPayroll As DAO.DataBase
Set dbPayroll = CurrentDb
For Each myDoc In dbPayroll.Containers!Forms.Documents
DoCmd.Close acForm, myDoc.Name
Next myDoc
[\code]