Public Sub OpenADatabase(ByVal strPath As String, ByVal strFrm As String, ByVal strLC As String)
Dim appAccess As Object
Set appAccess = CreateObject("Access.Application")
With appAccess
.OpenCurrentDatabase strPath
.Visible = True
.DoCmd.OpenForm strFrm, acNormal, , , , acWindowNormal
End With
End Sub