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 DisplayExternalReport()
Dim strDB
Dim appAccess As Access.Application
' Initialize string to database path.
strDB = "C:\Docs\LTD.mdb"
' Create new instance of Microsoft Access.
Set appAccess = CreateObject("Access.Application")
' Open database in Microsoft Access window.
appAccess.OpenCurrentDatabase strDB
' Open report.
'The next code line can easily be changed to
'appAccess.DoCmd.OpenForm "frmForm"
'You can even add a Where statement.
appAccess.DoCmd.OpenReport "rptReport", acViewPreview
appAccess.Visible = True
appAccess.UserControl = True
End Sub