I tried using this VB script for my button but it errors out telling me my DB is already open (I'm trying to open another DB from within my main DB form On_Click...Can anyone assist me in this, I'm new to VB....Thanks
Private Sub Command50_Click()
Dim appAccess As New Access.Application
Set appAccess = Access.Application
appAccess.OpenCurrentDatabase "E:\Source\Distribution\MSCS Disbursements.accdb"
appAccess.Visible = True
End Sub
Private Sub Command50_Click()
Dim appAccess As New Access.Application
Set appAccess = Access.Application
appAccess.OpenCurrentDatabase "E:\Source\Distribution\MSCS Disbursements.accdb"
appAccess.Visible = True
End Sub