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.
Sub DeleteQuery(QueryName As String)
Dim db As DAO.Database, qdf As DAO.QueryDef
Set db = CurrentDb()
For Each qdf In db.QueryDefs
If qdf.Name = QueryName Then
Set qdf = Nothing
DoCmd.DeleteObject acQuery, QueryName
Exit For
End If
Next qdf
Set qdf = Nothing
Set db = Nothing
End Sub